[openstack-dev] [nova] Checking before delete flavor?
xuhj at linux.vnet.ibm.com
Mon Jan 27 09:41:49 UTC 2014
On 2014?01?26? 20:05, Rui Chen wrote:
> Hi Stackers:
> Some instance operations and flavor are closely connected, for
> example, resize.
> If I delete the flavor when resize instance, instance will be error.
> Like this:
> 1. run instance with flavor A
> 2. resize instance from flavor A to flavor B
> 3. delete flavor A
> 4. resize-revert instance
> 5. instance state into error
Hi, Rui Chen, In last code, resize-revert will return status code 400
and with message about flavor not found in this case.
Which version openstack you are running?
> Which following ways we think is a better? or you have another way?
> 1. List instance filter by flavor A, verify that no instance
> associated with flavor A, then delete flavor A
> 2. Delete flavor A, if instance state into error, reset instance state
> to active
> General how do?
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev