Ask Your Question
0

How to create an instance for a tenant via admin?

asked 2013-12-02 00:23:24 -0500

Saurabh Chakrabarti gravatar image

updated 2014-01-22 15:12:41 -0500

Evgeny gravatar image

I only have the admin username and password. Via this admin tenant I need to create instances for different users. Is this possible?

I could create ports via admin for different tenant's networks in quantum, but could not figure out creating instances in a similar way in nova.

edit retag flag offensive close merge delete

Comments

Why dont you add admin user to required projects? keystone user-role-add --user admin --role admin --tenant test

laboshinl gravatar imagelaboshinl ( 2013-12-02 00:27:52 -0500 )edit

I know I can do that, But why is that not required in creating ports via admin in quantum. Is there a similar way we can achieve resource creation in nova too or is adding user the only way to go forward?

Saurabh Chakrabarti gravatar imageSaurabh Chakrabarti ( 2013-12-02 00:51:38 -0500 )edit

guessing by the responses that adding the role is the only way..?

interestingly without adding the role, one can do get & put & delete on an across-tenant instance, but not the post to create a across-tenant instance.

skollipa gravatar imageskollipa ( 2015-05-22 01:12:42 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-06-30 23:56:26 -0500

You don't create instances for users. You create proejcts (not tenants anymore) and assign users the role in that that project, and let them create the instances themseleves

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-02 00:23:24 -0500

Seen: 506 times

Last updated: Jun 30 '16