Ask Your Question
0

Add Role in Horizon

asked 2014-07-01 11:14:43 -0500

Hoots gravatar image

I'd like to be able to add a role in Horizon. I found the following that says how to do it...

http://docs.openstack.org/user-guide-admin/content/section_dashboard_admin_manage_roles.html

Unfortunately I fell at the first hurdle of the instructions as there is no Roles category on the Admins tab in Horizon, or anywhere that I can see. Where is this functionality or is it yet another example of documentation having not been updated.

Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-07-01 11:46:54 -0500

mpetason gravatar image

This is associated with the v3 API for Keystone. Depending on how you deployed this, by hand or through an automated script, you can see if you have the v3 API setup by doing:

keystone endpoint-list

If it returns with an entry showing url:35357/v3 then you have the API setup. At this point you would modify the Horizon configuration to use the v3 api instead of v2.0. You can do this in /etc/openstack-dashboard/local_settings. You would change this to /v3

OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0"

And you would change this to v3:

OPENSTACK_API_VERSIONS = { "identity": 2.0 }

Then restart Apache.

If you haven't added the v3 keystone endpoint then you can change the settings above then use keystone to add it. You would use the same endpoints for everything except you would change v2.0 to v3. You would also use the same service ID:

http://docs.openstack.org/grizzly/ope...

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: 2014-07-01 11:14:43 -0500

Seen: 513 times

Last updated: Jul 01 '14