yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22511
[Bug 1295128] Re: Error getting keystone related informations when running keystone in httpd
** Also affects: horizon/icehouse
Importance: Undecided
Status: New
** Changed in: horizon/icehouse
Status: New => Fix Committed
** Changed in: horizon/icehouse
Milestone: None => 2014.1.3
--
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/1295128
Title:
Error getting keystone related informations when running keystone in
httpd
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in OpenStack Dashboard (Horizon) icehouse series:
Fix Committed
Bug description:
1. Need to deploy keystone on apache: http://docs.openstack.org/developer/keystone/apache-httpd.html
2. Update keystone endpoints to, http://192.168.94.129/keystone/main/v2.0 and http://192.168.94.129/keystone/main/v2.0
3. Edit openstack_dashboard/local/local_settings.py, update OPENSTACK_KEYSTONE_URL = "http://%s/keystone/main/v2.0" % OPENSTACK_HOST
4. Visit dashboard,
* Error on dashboard: `Error: Unable to retrieve project list.`
* Error in log:
Not Found: Not Found (HTTP 404)
Traceback (most recent call last):
File "/opt/stack/horizon/openstack_dashboard/dashboards/admin/overview/views.py", line 63, in get_data
projects, has_more = api.keystone.tenant_list(self.request)
File "/opt/stack/horizon/openstack_dashboard/api/keystone.py", line 266, in tenant_list
tenants = manager.list(limit, marker)
File "/opt/stack/python-keystoneclient/keystoneclient/v2_0/tenants.py", line 118, in list
tenant_list = self._list("/tenants%s" % query, "tenants")
File "/opt/stack/python-keystoneclient/keystoneclient/base.py", line 106, in _list
resp, body = self.client.get(url)
File "/opt/stack/python-keystoneclient/keystoneclient/httpclient.py", line 578, in get
return self._cs_request(url, 'GET', **kwargs)
File "/opt/stack/python-keystoneclient/keystoneclient/httpclient.py", line 575, in _cs_request
**kwargs)
File "/opt/stack/python-keystoneclient/keystoneclient/httpclient.py", line 554, in request
resp = super(HTTPClient, self).request(url, method, **kwargs)
File "/opt/stack/python-keystoneclient/keystoneclient/baseclient.py", line 21, in request
return self.session.request(url, method, **kwargs)
File "/opt/stack/python-keystoneclient/keystoneclient/session.py", line 209, in request
raise exceptions.from_response(resp, method, url)
NotFound: Not Found (HTTP 404)
But using the keystoneclient command line everything works fine..
$ keystone tenant-list
+----------------------------------+--------------------+---------+
| id | name | enabled |
+----------------------------------+--------------------+---------+
| 9542f4d212064b96addcfbca9fd530ee | admin | True |
| 5e317523a51745d1a65f4b166b85dd1b | demo | True |
| 70058501677e4c2ea7cef31a7ddbd48d | invisible_to_admin | True |
| 246ef23151354782aa75850cde8501e8 | service | True |
+----------------------------------+--------------------+---------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1295128/+subscriptions
References