[openstack-dev] [nova] Checking before delete flavor?

Lingxian Kong anlin.kong at gmail.com
Sun Jan 26 14:33:30 UTC 2014


Maybe it's up to administrator to decide wether you could delete a flavor,
I prefer regular users have no privileges to do that. Would like to see
others' opinions.


2014-01-26 Rui Chen <chenrui.momo at gmail.com>

> 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
>
> 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
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
*---------------------------------------*
*Lingxian Kong*
Huawei Technologies Co.,LTD.
IT Product Line CloudOS PDU
China, Xi'an
Mobile: +86-18602962792
Email: konglingxian at huawei.com; anlin.kong at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140126/8ebb6fcc/attachment.html>


More information about the OpenStack-dev mailing list