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 [jiaqin1017 at gmail.com] Sent: 12 September 2013 20:22 To: openstack at lists.openstack.org 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130912/032b2e84/attachment.html>