Hello!
Let's assume that I have a VM's image that has been taken when the VM
was launched with a flavor of 50GB for the root disk.
Now when I try to spawn a new VM out of that image I cannot do it with
a flavor that has disk less than 50GB even if the VM itself inside uses
only 5GB.
Is ther
You might be able to change it via openstack command, probably something like
'openstack show image ' / 'openstack image set ?? '
You can definitely download the image to a file and then upload a new image,
specifying --min-disk. Something like 'openstack image save --file '
and then just 'op
Hi Chris!
Thanks for pointing out the "--min-disk" parameter. I haven't used that
one before.
I 'll try it out and post back.
Regards,
G.
On Sat, 25 Mar 2017 18:39:09 -0700, Chris Suttles wrote:
You might be able to change it via openstack command, probably
something like 'openstack show i
Hello again!
Unfortunately it doesn't work...
Here is the error: "Flavor's disk is too small for requested image.
Flavor disk is 21474836480 bytes, image is 53687091200 bytes.]."
This is on an image that was taken when the flavor had root with 50GB
and tried to upload it using a flavor of 20
Hello again to you too! :)
Thanks for the update and details.
You might try using qemu-img to modify the file before uploading as a new
image:
https://fatmin.com/2016/12/20/how-to-resize-a-qcow2-image-and-filesystem-with-virt-resize/
http://www.tuxfixer.com/how-to-shrink-openstack-qcow2-image-