← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1190223] Re: Keystone does not list users, tenants, and endpoints after Grizzly upgrade

 

Your admin_api pipeline is backed by the
keystone.service:public_app_factory rather than
keystone.service:admin_app_factory, hence no admin functionality is
available. Refer to grizzly's sample configuration:
https://github.com/openstack/keystone/blob/stable/grizzly/etc/keystone.conf.sample

** Changed in: keystone
       Status: Incomplete => Invalid

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

Title:
  Keystone does not list users, tenants, and endpoints after Grizzly
  upgrade

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  Hi,

  I upgraded my Folsom to Grizzly last week. After upgrade horizon
  started to work very very slowly. When i logged in with admin user,
  users tab does not list users and get "unable to retrieve user list"
  error. Project tab only lists admin project. Then tried with keystone
  user-list and it returned:

  "Unable to communicate with identity service: {"error": {"message":
  "The resource could not be found.", "code": 404, "title": "Not
  Found"}}. (HTTP 404)"

  I checked my credentials several times, but no luck.

  keystone tenant-list (it only lists admin tenant but not others, there are 2 other projects)
  +----------------------------------+-------+---------+
  |                id                |  name | enabled |
  +----------------------------------+-------+---------+
  | 7ea60690bfa64b62b9bd6cc8de82cdc7 | admin |   True  |
  +----------------------------------+-------+---------+

  keystone endpoint-list :
  Unable to communicate with identity service: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}. (HTTP 404)

  Keystone log does not contain any error log (debug and verbose is
  true). In apache error logs with debugging on i get:

  [Wed Jun 12 12:42:40 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 172.16.2.23
  [Wed Jun 12 12:42:44 2013] [error] DEBUG:urllib3.connectionpool:"GET /v2.0/tenants/7ea60690bfa64b62b9bd6cc8de82cdc7 HTTP/1.1" 404 93
  [Wed Jun 12 12:42:44 2013] [error] \x1b[31;1mNot Found: Unable to communicate with identity service: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}. (HTTP 404)\x1b[0m
  [Wed Jun 12 12:42:44 2013] [error] Traceback (most recent call last):
  [Wed Jun 12 12:42:44 2013] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/projects/views.py", line 162, in get_initial
  [Wed Jun 12 12:42:44 2013] [error]     admin=True)
  [Wed Jun 12 12:42:44 2013] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/keystone.py", line 142, in tenant_get
  [Wed Jun 12 12:42:44 2013] [error]     return keystoneclient(request, admin=admin).tenants.get(tenant_id)
  [Wed Jun 12 12:42:44 2013] [error]   File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/tenants.py", line 75, in get
  [Wed Jun 12 12:42:44 2013] [error]     return self._get("/tenants/%s" % tenant_id, "tenant")
  [Wed Jun 12 12:42:44 2013] [error]   File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 80, in _get
  [Wed Jun 12 12:42:44 2013] [error]     resp, body = self.api.get(url)
  [Wed Jun 12 12:42:44 2013] [error]   File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line 408, in get
  [Wed Jun 12 12:42:44 2013] [error]     return self._cs_request(url, 'GET', **kwargs)
  [Wed Jun 12 12:42:44 2013] [error]   File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line 404, in _cs_request
  [Wed Jun 12 12:42:44 2013] [error]     **kwargs)
  [Wed Jun 12 12:42:44 2013] [error]   File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line 366, in request
  [Wed Jun 12 12:42:44 2013] [error]     raise exceptions.from_response(resp, resp.text)
  [Wed Jun 12 12:42:44 2013] [error] NotFound: Unable to communicate with identity service: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}. (HTTP 404)

  I am using below packages:

  ii  keystone                           1:2013.1.1-0ubuntu2~cloud0    all          OpenStack identity service - Daemons
  ii  python-keystone                    1:2013.1.1-0ubuntu2~cloud0    all          OpenStack identity service - Python library
  ii  python-keystoneclient              1:0.2.3-0ubuntu2.2~cloud0     all          Client library for OpenStack Identity API
  ii  openstack-dashboard                1:2013.1.1-0ubuntu1~cloud0    all          django web interface to Openstack
  ii  python-django-horizon              1:2013.1.1-0ubuntu1~cloud0    all          Django module providing web based interaction with OpenStack
  ii  python-openstack-auth              1.0.7-0ubuntu1~cloud0         all          A django authentication backend for Openstack

  Any idea?

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