[Mitaka] 'AttributeError: name' when using multiple domain with LDAP driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Edmund Rhudy | ||
openstack-dashboard (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I get 'AttributeError: name' when using multiple domain with LDAP driver.
Specifically, when I click 'Create Project', 'Manage Members', 'Modify Groups', 'Edit Project' and 'Modify Quotas' button on the 'Projects' page of 'Identify' menu, horizon makes those error messages below.
It doesn't seem to be related to keystone since there is no error message from keystone node and I can do those operations using CLI without any problem.
==> /var/log/
[Fri Jun 17 14:44:57.440997 2016] [wsgi:error] [pid 93971:tid 140574614624000] Problem instantiating action class.
[Fri Jun 17 14:44:57.441049 2016] [wsgi:error] [pid 93971:tid 140574614624000] Traceback (most recent call last):
[Fri Jun 17 14:44:57.441060 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/share/
[Fri Jun 17 14:44:57.441083 2016] [wsgi:error] [pid 93971:tid 140574614624000] context)
[Fri Jun 17 14:44:57.441123 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/share/
[Fri Jun 17 14:44:57.441141 2016] [wsgi:error] [pid 93971:tid 140574614624000] groups_list = [(group.id, group.name) for group in all_groups]
[Fri Jun 17 14:44:57.441157 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.441182 2016] [wsgi:error] [pid 93971:tid 140574614624000] raise AttributeError(k)
[Fri Jun 17 14:44:57.441199 2016] [wsgi:error] [pid 93971:tid 140574614624000] AttributeError: name
[Fri Jun 17 14:44:57.442367 2016] [wsgi:error] [pid 93971:tid 140574614624000] Internal Server Error: /horizon/
[Fri Jun 17 14:44:57.442389 2016] [wsgi:error] [pid 93971:tid 140574614624000] Traceback (most recent call last):
[Fri Jun 17 14:44:57.442420 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.442439 2016] [wsgi:error] [pid 93971:tid 140574614624000] response = response.render()
[Fri Jun 17 14:44:57.442455 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.442480 2016] [wsgi:error] [pid 93971:tid 140574614624000] self.content = self.rendered_
[Fri Jun 17 14:44:57.442497 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.442514 2016] [wsgi:error] [pid 93971:tid 140574614624000] content = template.
[Fri Jun 17 14:44:57.442530 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.442555 2016] [wsgi:error] [pid 93971:tid 140574614624000] return self.template.
[Fri Jun 17 14:44:57.442579 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.442596 2016] [wsgi:error] [pid 93971:tid 140574614624000] return self._render(
[Fri Jun 17 14:44:57.443601 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.443632 2016] [wsgi:error] [pid 93971:tid 140574614624000] return self.nodelist.
[Fri Jun 17 14:44:57.443649 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.443666 2016] [wsgi:error] [pid 93971:tid 140574614624000] bit = self.render_
[Fri Jun 17 14:44:57.443696 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.443714 2016] [wsgi:error] [pid 93971:tid 140574614624000] return node.render(
[Fri Jun 17 14:44:57.443730 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.443747 2016] [wsgi:error] [pid 93971:tid 140574614624000] return self.nodelist.
[Fri Jun 17 14:44:57.443772 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.443789 2016] [wsgi:error] [pid 93971:tid 140574614624000] bit = self.render_
[Fri Jun 17 14:44:57.443806 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.443830 2016] [wsgi:error] [pid 93971:tid 140574614624000] return node.render(
[Fri Jun 17 14:44:57.443847 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.443864 2016] [wsgi:error] [pid 93971:tid 140574614624000] result = self.nodelist.
[Fri Jun 17 14:44:57.443880 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.443904 2016] [wsgi:error] [pid 93971:tid 140574614624000] bit = self.render_
[Fri Jun 17 14:44:57.443921 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.443938 2016] [wsgi:error] [pid 93971:tid 140574614624000] return node.render(
[Fri Jun 17 14:44:57.443962 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.443979 2016] [wsgi:error] [pid 93971:tid 140574614624000] nodelist.
[Fri Jun 17 14:44:57.443996 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.444012 2016] [wsgi:error] [pid 93971:tid 140574614624000] match = condition.
[Fri Jun 17 14:44:57.444036 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.444054 2016] [wsgi:error] [pid 93971:tid 140574614624000] return self.value.
[Fri Jun 17 14:44:57.444071 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.444096 2016] [wsgi:error] [pid 93971:tid 140574614624000] obj = self.var.
[Fri Jun 17 14:44:57.444113 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.444129 2016] [wsgi:error] [pid 93971:tid 140574614624000] value = self._resolve_
[Fri Jun 17 14:44:57.444146 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.444170 2016] [wsgi:error] [pid 93971:tid 140574614624000] current = current()
[Fri Jun 17 14:44:57.444188 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/share/
[Fri Jun 17 14:44:57.444205 2016] [wsgi:error] [pid 93971:tid 140574614624000] return any(field.required for field in self.action.
[Fri Jun 17 14:44:57.444230 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/share/
[Fri Jun 17 14:44:57.444248 2016] [wsgi:error] [pid 93971:tid 140574614624000] context)
[Fri Jun 17 14:44:57.444264 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/share/
[Fri Jun 17 14:44:57.444289 2016] [wsgi:error] [pid 93971:tid 140574614624000] groups_list = [(group.id, group.name) for group in all_groups]
[Fri Jun 17 14:44:57.444307 2016] [wsgi:error] [pid 93971:tid 140574614624000] File "/usr/lib/
[Fri Jun 17 14:44:57.444323 2016] [wsgi:error] [pid 93971:tid 140574614624000] raise AttributeError(k)
[Fri Jun 17 14:44:57.444340 2016] [wsgi:error] [pid 93971:tid 140574614624000] AttributeError: name
dpkg -l | egrep 'horizon|dashboard'
ii openstack-dashboard 2:9.0.0-
ii openstack-
ii python-
summary: |
- 'AttributeError: name' when using multiple domain with LDAP driver + [Mitaka] 'AttributeError: name' when using multiple domain with LDAP + driver |
Changed in horizon: | |
assignee: | nobody → Edmund Rhudy (erhudy) |
status: | New → In Progress |
Changed in horizon: | |
milestone: | none → ocata-2 |
importance: | Undecided → High |
tags: | added: keystone newton-backport-potential |
I see this same error in Liberty Horizon (8.0.1) when using LDAP with Keystone v3, though only with the default domain.