Ask Your Question

Changing flavors from private to public

asked 2016-09-07 08:30:17 -0500

Ka gravatar image


is there any way to change an existing flavor from private to public? (OpenStack Liberty)

Thank you in advance, Ka

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2016-09-19 06:07:31 -0500

sowmya gravatar image

updated 2016-09-19 06:11:23 -0500

From Horizon, Navigate to Flavors tab, click on Edit -> flavor access , uncheck all the tenants from the list.


Using CLI: Get the list of tenants associated to the flavor:

nova flavor-access-list [--flavor <flavor>] [--tenant <tenant_id>]

Remove access for all the tenants associated with that flavor:

nova flavor-access-remove <flavor> <tenant_id>

<flavor> Flavor : name or ID to remove access for the given tenant. <tenant_id> Tenant ID to remove flavor access for.

edit flag offensive delete link more


This does not work on OpenStack Queens. A flavor with all accesses removed does not become public.

venza gravatar imagevenza ( 2018-08-27 07:48:34 -0500 )edit

answered 2016-09-16 16:14:45 -0500

Scott Machtmes gravatar image

I don't believe there's a way to do it without deleting the flavor and creating it again with --is-public false. The updatable fields are for metadata only.

edit flag offensive delete link more

answered 2020-02-21 19:21:00 -0500

corey gravatar image

Remove all accesses for a flavor that doesn't work for me on Openstack Pike, so I modified the value in DB directly.

use nova_api
select * from flavors;
update flavors set is_public=1 where id=column_id;

edit flag offensive delete link more

answered 2016-09-17 00:27:20 -0500

Tamil gravatar image

In mitaka, we can update the image property from private to public under edit image tab.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-09-07 08:30:17 -0500

Seen: 2,771 times

Last updated: Sep 19 '16