Sunday, March 8, 2015

OpenStack - Projects, Users And Roles


As an OpenStack System Administrator, it is common to have new tenants.  To create new project, log into OpenStack (I am using my DevStack environment) as the admin user and select "Users" under the Identity Panel (on the left-hand side)


Click on the "Create User" button and fill in the required information on the pop-up window.



Click on the "+" button for the "Primary Project" field to create new project for the new user and fill in the Project Information.  Click on the "Create Project" button to create the new project.



We will see the green box on the top right-hand corner of the screen which says that the new project has been created.



The default role for the new user is "member".  We can select different roles for the users, e.g. admin based on our needs.  In my case, I have left it as member.



Next, go back to the Identity Panel and select the Project tab.  We should see the new project, i.e. Test1 on the project list now.



Select "Edit Project" for the newly created project and check that the new user is shown in the "Project Members" tab:




Lastly, check that you can log into Horizon using the new user.  You should see that you are inside the new project, i.e. Test1 in my case:




In this way you will be able to manage new tenants =)