It needs to be looked at. Awhile back there was a switch made that
began to leverage libvirt to do volume resizes, but everyone
complained about corruption for qcow2, so it was backed out to use the
virsh scripts from before. It seems libvirt was resizing the 'libvirt
volume' but not the block device in qemu. I've looked at the code both
before and after this change, and it looks like RBD would have thrown
'unsupported' in either case, but there is also code that would still
leverage libvirt to resize RBD if it didn't fail this check, so it
needs a bit of love to get it enabled and working properly, preferably
from someone who has access to RBD to develop against. You may want to
open a jira request for it and include this info.

On Thu, Mar 19, 2015 at 9:55 PM, Star Guo <st...@ceph.me> wrote:
> Hi,
>
>
>
> My lab is cloudstack 4.4.2 + kvm + ceph/rbd. I add a volume and attach it to
> a VM. When I resize the volume, the ui throw fail.
>
> And I catch the log in MS as bellow:
>
>
>
> "2015-03-20 12:48:59,145 DEBUG [c.c.a.t.Request]
> (AgentManager-Handler-9:null) Seq 7-81346268269410213: Processing:  { Ans: ,
> MgmtId: 345052394370, via: 7, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.storage.ResizeVolumeAnswer":{"newSize":0,"result":fal
> se,"details":"Unsupported volume format: pool type 'RBD' and volume format
> 'raw'","wait":0}}] }"
>
>
>
> Does not support RBD/raw resize now ?
>
>
>
> Best Regards,
>
> Star Guo
>

Reply via email to