← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1487372] Re: unretrieve project list when switching project in keystone v3

 

** Project changed: horizon => django-openstack-auth

-- 
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/1487372

Title:
  unretrieve project list when switching project in keystone v3

Status in django-openstack-auth:
  New

Bug description:
  when switching project, the dashboard show error " " , but we can
  still list project list by command. if we logout and login again, the
  dashboard works nomarly.

  Traceback (most recent call last):
    File "/opt/stack/horizon/openstack_dashboard/dashboards/identity/projects/views.py", line 89, in get_data
      marker=marker)
    File "/opt/stack/horizon/openstack_dashboard/api/keystone.py", line 290, in tenant_list
      tenants = manager.list(**kwargs)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/utils.py", line 336, in inner
      return func(*args, **kwargs)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/v3/projects.py", line 106, in list
      **kwargs)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py", line 73, in func
      return f(*args, **new_kwargs)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py", line 366, in list
      self.collection_key)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py", line 113, in _list
      resp, body = self.client.get(url, **kwargs)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/adapter.py", line 170, in get
      return self.request(url, 'GET', **kwargs)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/adapter.py", line 206, in request
      resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/adapter.py", line 95, in request
      return self.session.request(url, method, **kwargs)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/utils.py", line 336, in inner
      return func(*args, **kwargs)
    File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/session.py", line 397, in request
      raise exceptions.from_response(resp, method, url)
  Unauthorized: The request you have made requires authentication. (Disable debug mode to suppress these details.) (HTTP 401) (Request-ID: req-70ac41d3-7b89-4017-8617-447358e6dc91)

To manage notifications about this bug go to:
https://bugs.launchpad.net/django-openstack-auth/+bug/1487372/+subscriptions


References