[Openstack] can instances be resized?

Bob Ball bob.ball at citrix.com
Mon Sep 2 08:31:15 UTC 2013


Hi Mark,

Just to add to this - if you use XenServer as the underlying hypervisor then yes, it can perform automatic resize of the partitions when you resize an instance between two flavors.

I believe you need to set auto_disk_config=True for the instance - at which point the expectation is that you have  a single partition and are using EXT3 or EXT4.  See https://github.com/openstack/nova/blob/master/nova/virt/xenapi/vm_utils.py#L798 for the technical details.

This occurs when you issue the nova command to resize an instance between the flavors and requires you to be running XenServer with the EXT3 SR type - see http://docs.openstack.org/trunk/openstack-compute/admin/content/introduction-to-xen.html for more details on setting up XenServer.

Thanks,

Bob

> -----Original Message-----
> From: Mark Chaney [mailto:mail at lists.macscr.com]
> Sent: 30 August 2013 07:15
> To: openstack at lists.openstack.org
> Subject: [Openstack] can instances be resized?
> 
> I am going to be hosting mainly Ubuntu, CentOS, and some Debian
> instances with my openstack "cloud". Can instances be resized when it
> comes to their storage? Obviously not only does its disk need to be
> resized, but its FS as well. I am hoping openstack can take care of all
> of that.
> 
> Thanks,
> Mark
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-
> bin/mailman/listinfo/openstack




More information about the Openstack mailing list