On 07/24/2014 06:38 PM, Logan Barfield wrote:
I think I've found the cause of the resize failure. When using RBD for
primary storage the disk is not allocated before the VM starts. The resize
operation runs before the disk exists, and instead of failing completely it
just updates the database
I think I've found the cause of the resize failure. When using RBD for
primary storage the disk is not allocated before the VM starts. The resize
operation runs before the disk exists, and instead of failing completely it
just updates the database with the new disk size and returns success.
Depl
The change I mentioned appears to fix the resize error. Resizing the root
disk with deployVM still doesn't work however.
To test I created a VM from a 5GB template with "rootdisksize" = "20". The
VM is successfully created, and CloudStack lists the ROOT volume as 20GB,
but the RBD volume is stil
Just an FYI, RBD resizing still fails because libvirt is throwing an
invalid flags error. I'm testing the following patch:
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java:
-if (conn.getLibVirVersion() > 1001000 &&
vol.getFormat() ==
Wido,
Excellent. As long as it passes testing we'll be golden.
Thank You,
Logan Barfield
Tranquil Hosting
On Tue, Jul 22, 2014 at 4:30 PM, Wido den Hollander wrote:
>
>
> On 07/22/2014 10:13 PM, Logan Barfield wrote:
>
>> Wido,
>>
>> I appreciate the confirmation. Would you mind posting a
On 07/22/2014 10:13 PM, Logan Barfield wrote:
Wido,
I appreciate the confirmation. Would you mind posting an update here when
you've submitted the patch? As I mentioned in another post we will
probably end up just having to go into production with a non-official
build. We won't be able to w
Wido,
I appreciate the confirmation. Would you mind posting an update here when
you've submitted the patch? As I mentioned in another post we will
probably end up just having to go into production with a non-official
build. We won't be able to wait for 4.5 or 4.4.x unfortunately.
Thank You,
On 07/22/2014 09:53 PM, Logan Barfield wrote:
I was testing on a recent 4.4 build today and noticed that volume resizing
for RBD volumes is not working as intended.
In LibvirtComputingResource.java the 'getResizeScriptType()' function
doesn't have logic for type = RBD and format = RAW or QCOW2
I was testing on a recent 4.4 build today and noticed that volume resizing
for RBD volumes is not working as intended.
In LibvirtComputingResource.java the 'getResizeScriptType()' function
doesn't have logic for type = RBD and format = RAW or QCOW2, so it returns
'null' and the resize operation fa