How to create a project with the dashboard? [closed]

asked 2013-06-04 01:57:34 -0500

Ph4nToM gravatar image

updated 2013-06-05 03:35:21 -0500

Hello,

I've already created some projects in command line with my admin user:

image description

But with the dashboard, I obtain an error when I click on the Create Project Button image description

Furthermore, when I want to edit my previous project I can't do anything. image description Maybe any ideas?

This is probably the same issue than in https://ask.openstack.org/question/847/error-on-tenant-administration-on-horizon-dashboard/ .

To make sure though, you should check the httpd/apache error logs in /var/log. There should be a stack trace that will give more details as to what is actually happening.

Considering the screen you're talking about though, as in the question linked above this could be due to the default role not existing in keystone. In local_settings.py there is an OPENSTACK_KEYSTONE_DEFAULT_ROLE variable Horizon uses to define the default role assigned to project members, check that this role also exists in Keystone.

Thanks for your response. in local_settings.py, I have: OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member".

image description

I think I've already the role member when I look on my Dashboard: image description

If I have to add the line OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member". I don't know where. Maybe in keystone.conf ?

Little precision: it's with my admin user that I want to create a project on my dashboard. His role is admin So maybe I would have to change OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member". TO OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin". ?

edit retag flag offensive reopen merge delete

Closed for the following reason too localized by Ph4nToM
close date 2013-06-13 03:52:36.269934

1 answer

Sort by ยป oldest newest most voted
3

answered 2013-06-04 09:00:11 -0500

jpichon gravatar image

updated 2013-06-05 03:20:37 -0500

This is probably the same issue than in https://ask.openstack.org/question/847/error-on-tenant-administration-on-horizon-dashboard/ .

To make sure though, you should check the httpd/apache error logs in /var/log. There should be a stack trace that will give more details as to what is actually happening.

Considering the screen you're talking about though, as in the question linked above this could be due to the default role not existing in keystone. In local_settings.py there is an OPENSTACK_KEYSTONE_DEFAULT_ROLE variable Horizon uses to define the default role assigned to project members, check that this role also exists in Keystone.

The default role is usually "Member". You should create a role within Keystone called "Member", or change the variable to "member" (which seems to be in your role list, from the screenshot -- the variable name in local_settings needs to match the role name exactly) and restart httpd, since it seems to be one of the roles you already have. This is the default role for users that get added to the project later on so it's better to have this be a regular role like Member, rather than admin.

edit flag offensive delete link more

Comments

Thanks for your answer, I answered above

Ph4nToM gravatar imagePh4nToM ( 2013-06-05 01:37:59 -0500 )edit

Thanks for your post! It's works

Ph4nToM gravatar imagePh4nToM ( 2013-06-05 03:34:17 -0500 )edit

Glad this helped!

jpichon gravatar imagejpichon ( 2013-06-05 03:36:09 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-06-04 01:57:34 -0500

Seen: 2,937 times

Last updated: Jun 05 '13