endpoints fetching results differs with user's Admin role assigned on None and on a tenant
My environment: Keystone 2012.1 + Dashboard 2012.1
I create a tenant named DEMO and a user named demo assigned to DEMO. Then I login the Dashboard and try to list all the tenants with the demo user(This process needs to fetch the endpoints from Keystone).
When I assign Admin role to demo on None, I can fetch all the endpoints with Dashboard correctly, results as follows:
[{u'endpoints': [{u'adminURL': u'http://
While I reassign Admin role to demo on DEMO tenant, I can't get the adminURL, results as follows:
[{u'endpoints': [{u'region': u'RegionOne', u'internalURL': u'http://
And the log in Dashboard is as follows:
CRITICAL:
Traceback (most recent call last):
File "/root/
response = callback(request, *callback_args, **callback_kwargs)
File "/root/
return view_func(request, *args, **kwargs)
File "/root/
return view_func(request, *args, **kwargs)
File "/root/
return view_func(request, *args, **kwargs)
File "/root/
return view_func(request, *args, **kwargs)
File "/root/
tenants = api.tenant_
File "/root/
return [Tenant(t) for t in keystoneclient(
File "/root/
endpoint_
File "/root/
return endpoint[
KeyError: 'adminURL'
Apparently the adminURL is missing. What's the reason that we can't get the adminURL when assign the Admin role on a certain tenant?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Ziad Sawalha
- Solved:
- Last query:
- Last reply: