** Also affects: openstack-dashboard (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1593571

Title:
  [Mitaka] 'AttributeError: name' when using multiple domain with LDAP
  driver

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in openstack-dashboard package in Ubuntu:
  New

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/apache2/error.log <==                                            
                                                                                
                                                                                
                                    [97/7522]
  [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/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/workflows/base.py",
 line 370, in action
  [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/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/identity/projects/workflows.py",
 line 323, in __init__
  [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/python2.7/dist-packages/keystoneclient/base.py", line 491, in 
__getattr__
  [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/identity/04e7fe0cfb19418a9ec2eacfe1d334d5/update/
  [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/python2.7/dist-packages/django/core/handlers/base.py", line 164, in 
get_response
  [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/python2.7/dist-packages/django/template/response.py", line 158, in 
render
  [Fri Jun 17 14:44:57.442480 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     self.content = self.rendered_content
  [Fri Jun 17 14:44:57.442497 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/response.py", line 135, in 
rendered_content
  [Fri Jun 17 14:44:57.442514 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     content = template.render(context, self._request)
  [Fri Jun 17 14:44:57.442530 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 74, 
in render
  [Fri Jun 17 14:44:57.442555 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     return self.template.render(context)
  [Fri Jun 17 14:44:57.442579 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 210, in render
  [Fri Jun 17 14:44:57.442596 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     return self._render(context)
  [Fri Jun 17 14:44:57.443601 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 202, in _render
  [Fri Jun 17 14:44:57.443632 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     return self.nodelist.render(context)
  [Fri Jun 17 14:44:57.443649 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 905, in render
  [Fri Jun 17 14:44:57.443666 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     bit = self.render_node(node, context)
  [Fri Jun 17 14:44:57.443696 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 919, in 
render_node
  [Fri Jun 17 14:44:57.443714 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     return node.render(context)
  [Fri Jun 17 14:44:57.443730 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 576, in 
render
  [Fri Jun 17 14:44:57.443747 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     return self.nodelist.render(context)
  [Fri Jun 17 14:44:57.443772 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 905, in render
  [Fri Jun 17 14:44:57.443789 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     bit = self.render_node(node, context)
  [Fri Jun 17 14:44:57.443806 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 919, in 
render_node
  [Fri Jun 17 14:44:57.443830 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     return node.render(context)
  [Fri Jun 17 14:44:57.443847 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 56, in 
render
  [Fri Jun 17 14:44:57.443864 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     result = self.nodelist.render(context)
  [Fri Jun 17 14:44:57.443880 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 905, in render
  [Fri Jun 17 14:44:57.443904 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     bit = self.render_node(node, context)
  [Fri Jun 17 14:44:57.443921 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 919, in 
render_node
  [Fri Jun 17 14:44:57.443938 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     return node.render(context)
  [Fri Jun 17 14:44:57.443962 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 224, in 
render
  [Fri Jun 17 14:44:57.443979 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     nodelist.append(node.render(context))
  [Fri Jun 17 14:44:57.443996 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 322, in 
render
  [Fri Jun 17 14:44:57.444012 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     match = condition.eval(context)
  [Fri Jun 17 14:44:57.444036 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 937, in 
eval
  [Fri Jun 17 14:44:57.444054 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     return self.value.resolve(context, ignore_failures=True)
  [Fri Jun 17 14:44:57.444071 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 648, in resolve
  [Fri Jun 17 14:44:57.444096 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     obj = self.var.resolve(context)
  [Fri Jun 17 14:44:57.444113 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 789, in resolve
  [Fri Jun 17 14:44:57.444129 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     value = self._resolve_lookup(context)
  [Fri Jun 17 14:44:57.444146 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 849, in 
_resolve_lookup
  [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/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/workflows/base.py",
 line 441, in has_required_fields
  [Fri Jun 17 14:44:57.444205 2016] [wsgi:error] [pid 93971:tid 
140574614624000]     return any(field.required for field in 
self.action.fields.values())
  [Fri Jun 17 14:44:57.444230 2016] [wsgi:error] [pid 93971:tid 
140574614624000]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/workflows/base.py",
 line 370, in action
  [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/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/identity/projects/workflows.py",
 line 323, in __init__
  [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/python2.7/dist-packages/keystoneclient/base.py", line 491, in 
__getattr__
  [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-0ubuntu2.16.04.1        all      
    Django web interface for OpenStack
  ii  openstack-dashboard-ubuntu-theme 2:9.0.0-0ubuntu2.16.04.1        all      
    Ubuntu theme for the OpenStack dashboard
  ii  python-django-horizon            2:9.0.0-0ubuntu2.16.04.1        all      
    Django module providing web based interaction with OpenStack

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1593571/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to