Re: [lists.openstack.org代发][nova] ask some questions about flavor
zhangbailin at inspur.com
Wed Mar 4 09:09:27 UTC 2020
Items: [lists.openstack.org代发][nova] ask some questions about flavor
> I have two questions about the flavor. One is the property "OS-FLV-DISABLED:disabled" defined when we created the flavor, but there is no method to change the property. And I see a patch about this , but it is abandoned. So I want to know our community how
> to consider this function.
"OS-FLV-DISABLED:disabled", this is typically only visible to administrative users. I'm not sure if it is worth supporting the modification/update. I think it should be planned in advance for managers. If the specific extra spec bound to flavor is only used as a dedicated flavor.
> Another one is when we call the "list-migrations" api, why we receive the new_instance_type_id and old_instance_type_id in response of list_migrations should be internal value for the migration-type is "resize"? Maybe the value should be exposed on REST
> API, so that we can know which is the old flavor.
In microversion 2.23 we support to show “migration-type” in the List Migrations API , I think you call List Migrations REST API is not add the “OpenStack-API-Version” or “X-OpenStack-Nova-API-Version”, right？
And you can get the list migrations filter by “migration-type” (enum in: evacuation, live-migration, migration (cold), resize), as the call such as: http://192.168.2.11/compute/v2.1/os-migrations?migration_type=resize that show what migration type what you want.
 API changes: https://docs.openstack.org/api-ref/compute/?expanded=list-migrations-detail,show-migration-details-detail,id320-detail#list-migrations
 microverion 2.3: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id21
> Can you tell me more about this? Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openstack-discuss