Ask Your Question
1

Mitaka Openstack and Domain menu on horizon

asked 2016-09-17 15:16:58 -0500

Shiva gravatar image

I installed an openstack mitaka controller and compute. I want to test a multi domain use case. But my openstack dashboard doesnt show menu where i can list or create new domains. Can some one help here? I am logged into default domain and i am an admin user.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-09-18 02:38:51 -0500

Tamil gravatar image

Hi shiva,

edit flag offensive delete link more

Comments

Hi Tamil.

Thanks for the response !

I am getting the following error

root@civcez347:/etc/keystone# curl -s -H "X-Auth-Token: mytoken" -X PUT http://civcez347.in.ibm.com:5000/v3/d... {"error": {"message": "You are not authorized to perform the requested action: identity:create_grant", "code": 403,

Shiva gravatar imageShiva ( 2016-09-18 16:24:30 -0500 )edit

you are getting this error, due to permissions or authorization issue. kindly check the keystone user-list and endpoints.

Tamil gravatar imageTamil ( 2016-09-19 04:07:04 -0500 )edit

Hi, The error is misleading!!!

I am able to do list stuff from cli

root@civcez347:~# openstack domain list +----------------------------------+---------+---------+----------------+ | ID | Name | Enabled | Description | +----------------------------------+-------

Shiva gravatar imageShiva ( 2016-09-19 04:39:14 -0500 )edit

in openstack mitaka, is the default domain an admin domain? I am really getting confused !!

Shiva gravatar imageShiva ( 2016-09-19 04:39:51 -0500 )edit

yes, when you install open stack setup, you will be creating the domain default , under which you will be creating the users admin, demo etc..,

Tamil gravatar imageTamil ( 2016-09-19 04:55:57 -0500 )edit
0

answered 2016-09-20 03:28:43 -0500

Shiva gravatar image

updated 2016-09-20 03:33:56 -0500

Hi,

I did the following steps on the default install and the domains menu appeared

Step 1:. admin-openrc

Step 2: openstack role add --domain default --user admin admin (During the initial keystone config, I had only done this openstack role add --project admin --user admin admin , so the above step is additional ..assigning admin role to admin user on default domain)

I think there is a new keystone v3 policy.json file for liberty as well ! i got to know abt this while facing this issue

https://bugs.launchpad.net/horizon/+b...

and hence used this file

https://github.com/openstack/keystone...

I tried to create a new domain from the dashboard, the message was new domain was created. But the listing of domains in horizon showed up only the default domain and not the newly created domain.

I also tried matching the policy.json(above file) with keystone_policy.json of horizon.

Can any one help further?

root@civcez347:~# openstack domain list +----------------------------------+---------+---------+----------------+ | ID | Name | Enabled | Description | +----------------------------------+---------+---------+----------------+ | ff7b6cffdac74819af4f927c1f0f59a3 | default | True | Default Domain | | 5567b66ff4a454af4f92eaqs0f59a3 | dom1 | True | dom1 |

Thanks Shiva

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

Stats

Asked: 2016-09-17 15:16:58 -0500

Seen: 613 times

Last updated: Sep 20 '16