Ask Your Question

create flavor with any user from dashboard

asked 2016-11-06 15:22:44 -0600

laurentiusoica gravatar image

Is there any way to enable flavor management for any user from the openstack dashboard ? Basically I want to enable flavor create capability for every tenant user.

edit retag flag offensive close merge delete


You would have to change Nova's policy.json file. There are many flavor-related rules, perhaps this one needs to be modified "os_compute_api:os-flavor-manage": "rule:admin_api". I suspect though that a single rule may not be sufficient.

Bernd Bausch gravatar imageBernd Bausch ( 2016-11-06 19:03:33 -0600 )edit

I started looking up the rule:admin_api, but got quite confused. The intuitive feeling is that you have to be admin to manage flavors. But the name of the role, more implies that you have to be using the admin_api? (The version I check tough, seems like it the rule could also be "role:admin")

theque42 gravatar imagetheque42 ( 2016-11-07 06:29:10 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-03-07 02:08:35 -0600

razvlix gravatar image

updated 2017-03-07 08:26:57 -0600


@Bernd Bausch is right, but doing this the user will be able to create a flavor. Actually a private one, because you dont want everyone to see it.

But by doing this, he will only be able do create it and NOT to associate the flavor to any project. The admin will need to do this.The "issue" with this is that the suer does not have visibility on the new flavor, even if it was created by him.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-11-06 15:22:44 -0600

Seen: 548 times

Last updated: Mar 07 '17