Re: cloudstack 4.4.2 + kvm resize data disk fail on ceph/rbd

2015-03-20 Thread Marcus
> 1001000 && > vol.getFormat() == PhysicalDiskFormat.RAW && pool.getType() != > StoragePoolType.RBD) { > > 1888 flags = 1; > > 1889 } > > … > > > > And then , I check the scripts file: scripts/storage

Re: cloudstack 4.4.2 + kvm resize data disk fail on ceph/rbd

2015-03-19 Thread Star Guo
er the cloud-plugin-hypervisor-kvm-4.4.2.jar to MS and kvm agent, then it works. BTW, in Master the method “private String getResizeScriptType(KVMStoragePool pool, KVMPhysicalDisk vol)” in LibvirtComputingResource.java should be return null at the end, and branch 4.4 fix it. Best Regard

Re: cloudstack 4.4.2 + kvm resize data disk fail on ceph/rbd

2015-03-19 Thread Marcus
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 devi

cloudstack 4.4.2 + kvm resize data disk fail on ceph/rbd

2015-03-19 Thread Star Guo
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: { A