← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1585682] [NEW] Horizon gating on dsvm-integration job is broken due to recent changes in devstack/keystone

 

Public bug reported:

More importantly, Horizon in devstack is broken too due to the inability
to get list of projects / switch the current project for a user, see

DEBUG:keystoneauth.session:Request returned failure status: 404
Unable to retrieve project list.
Traceback (most recent call last):
  File "/home/tsufiev/develop/django_openstack_auth/openstack_auth/user.py", line 314, in authorized_tenants
    is_federated=self.is_federated)
  File "/home/tsufiev/develop/django_openstack_auth/openstack_auth/utils.py", line 325, in get_project_list
    projects = client.projects.list(user=kwargs.get('user_id'))
  File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/v3/projects.py", line 107, in list
    **kwargs)
  File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py", line 75, in func
    return f(*args, **new_kwargs)
  File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py", line 383, in list
    self.collection_key)
  File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py", line 124, in _list
    resp, body = self.client.get(url, **kwargs)
  File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 173, in get
    return self.request(url, 'GET', **kwargs)
  File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 330, in request
    resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
  File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 98, in request
    return self.session.request(url, method, **kwargs)
  File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneauth1/session.py", line 468, in request
    raise exceptions.from_response(resp, method, url)
NotFound: The resource could not be found. (HTTP 404)

** Affects: horizon
     Importance: Critical
         Status: New

** Affects: keystone
     Importance: Undecided
         Status: New

** Also affects: keystone
   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/1585682

Title:
  Horizon gating on dsvm-integration job is broken due to recent changes
  in devstack/keystone

Status in OpenStack Dashboard (Horizon):
  New
Status in OpenStack Identity (keystone):
  New

Bug description:
  More importantly, Horizon in devstack is broken too due to the
  inability to get list of projects / switch the current project for a
  user, see

  DEBUG:keystoneauth.session:Request returned failure status: 404
  Unable to retrieve project list.
  Traceback (most recent call last):
    File "/home/tsufiev/develop/django_openstack_auth/openstack_auth/user.py", line 314, in authorized_tenants
      is_federated=self.is_federated)
    File "/home/tsufiev/develop/django_openstack_auth/openstack_auth/utils.py", line 325, in get_project_list
      projects = client.projects.list(user=kwargs.get('user_id'))
    File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
      return wrapped(*args, **kwargs)
    File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/v3/projects.py", line 107, in list
      **kwargs)
    File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py", line 75, in func
      return f(*args, **new_kwargs)
    File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py", line 383, in list
      self.collection_key)
    File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py", line 124, in _list
      resp, body = self.client.get(url, **kwargs)
    File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 173, in get
      return self.request(url, 'GET', **kwargs)
    File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 330, in request
      resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
    File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 98, in request
      return self.session.request(url, method, **kwargs)
    File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
      return wrapped(*args, **kwargs)
    File "/home/tsufiev/develop/horizon/.venv/local/lib/python2.7/site-packages/keystoneauth1/session.py", line 468, in request
      raise exceptions.from_response(resp, method, url)
  NotFound: The resource could not be found. (HTTP 404)

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


Follow ups