Ask Your Question
0

how can I identify the admin project in a OpenStack environment?

asked 2015-05-06 10:23:06 -0500

anonymous user

Anonymous

updated 2015-05-08 05:11:48 -0500

How can I identify the admin project in a OpenStack environment?

[root@localhost ~(keystone_admin)]# keystone tenant-list
+----------------------------------+----------+---------+
|                id                |   name   | enabled |
+----------------------------------+----------+---------+
| db2cc12da91f403994ada8bf22a8e2bf |  admin   |   True  |
| 062007701fcb49e7a62f5911d0296c92 |   demo   |   True  |
| 45981d5267bf45a3b7b245b1b96ad93d | services |   True  |
+----------------------------------+----------+---------+

Here "keystone tenant-list" listed down all the project that I have. Say for example I have multiple projects (more than 10), with various names, non of those projects have project name as "Admin". How can I identify the Admin project?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-05-08 10:52:43 -0500

There is nothing called 'admin" project. Each project associate admin capability with some specific role. Unfortunately that role name is called "admin" in every service/project.

Assuming you are using the default setup, you can do the following

     Create a user                :   NonAdminUser
     Create a project            :   NonAdminProject
     Associate  "admin" role  for "NonAdminUser"  on "NonAdminProject"

Now "NonAdminProject" can be considered  as admin project for the user NonAdminUser

To Summarize, any project which has "admin" role assignment for any user is considered as "admin" project for that user.

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: 2015-05-06 10:23:06 -0500

Seen: 330 times

Last updated: May 08 '15