pure project admin can't view projects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Ryan Peters |
Bug Description
With Domains enabled, if you create a Project, with a user who is an admin on that project (but not a domain admin), the Identity > Projects panel will return a 500 error:
Pure project admin doesn't have a domain token
Internal Server Error: /identity/
Traceback (most recent call last):
File "/Users/
response = wrapped_
File "/Users/
return view_func(request, *args, **kwargs)
File "/Users/
return view_func(request, *args, **kwargs)
File "/Users/
return view_func(request, *args, **kwargs)
File "/Users/
return self.dispatch(
File "/Users/
return handler(request, *args, **kwargs)
File "/Users/
handled = self.construct_
File "/Users/
handled = self.handle_
File "/Users/
data = self._get_
File "/Users/
self._data = {self.table_
File "/Users/
t.domain_name = domain_
AttributeError: 'NoneType' object has no attribute 'get'
[01/Jun/2016 15:10:37] "GET /identity/ HTTP/1.1" 500 324035
This is due to this section of code in openstack_
if api.keystone.
domain_lookup = api.keystone.
for t in tenants:
return tenants
Changed in horizon: | |
assignee: | nobody → Ryan Peters (rjpeter2) |
Changed in horizon: | |
importance: | Undecided → High |
milestone: | none → newton-2 |
Fix proposed to branch: master /review. openstack. org/323986
Review: https:/