Hi, The resizing code depends on things like a single partition, and the type of partition - see https://github.com/openstack/nova/blob/master/nova/virt/xenapi/vm_utils.py#L2042
I assume that the CentOS / Fedora images you are talking about uses a different base filesystem. The other requirement is that auto_disk_config needs to be set on the image (see https://github.com/openstack/nova/blob/master/nova/virt/xenapi/vm_utils.py#L803) Thanks, Bob ________________________________ From: Qin Jia [[email protected]] Sent: 12 September 2013 20:22 To: [email protected] Subject: [Openstack] Image Resizing Hello, I have deployed an openstack on top of xenserver. I downloaded the centos / fedora images from Rackspace Cloud Builders Images (https://github.com/rackerjoe/oz-image-build). Converted it to vhd format and uploaded to the openstack with "glance image-create". However, I find that the VMs started from the image will have the same size although I assigned different flavors. I tried other official images (ubuntu and fedora) and resizing works well. I would like to ask how could I get a resizable centos image? Thanks, Qin Jia
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
