[openstack-dev] horizon folsom issue getting service catalog

andi abes andi.abes at gmail.com
Sat Jan 26 23:34:00 UTC 2013


I hitting a funny condition, where dash fails to display /syspanel, with
the exception below.
I tried restarting things (apache, memcache) to no avail:

[Sat Jan 26 16:40:13 2013] [error]     self.usage_list =
self.get_usage_list(start, end)
[Sat Jan 26 16:40:13 2013] [error]   File
"/usr/lib/python2.7/dist-packages/horizon/usage/base.py", line 128, in
get_usage_list
[Sat Jan 26 16:40:13 2013] [error]     return api.usage_list(self.request,
start, end)
[Sat Jan 26 16:40:13 2013] [error]   File
"/usr/lib/python2.7/dist-packages/horizon/api/nova.py", line 418, in
usage_list
[Sat Jan 26 16:40:13 2013] [error]     return [Usage(u) for u in
novaclient(request).usage.list(start, end, True)]
[Sat Jan 26 16:40:13 2013] [error]   File
"/usr/lib/python2.7/dist-packages/horizon/api/nova.py", line 200, in
novaclient
[Sat Jan 26 16:40:13 2013] [error]     (request.user.token.id,
url_for(request, 'compute')))
[Sat Jan 26 16:40:13 2013] [error]   File
"/usr/lib/python2.7/dist-packages/horizon/api/base.py", line 118, in url_for
[Sat Jan 26 16:40:13 2013] [error]     raise
exceptions.ServiceCatalogException(service_type)
[Sat Jan 26 16:40:13 2013] [error] ServiceCatalogException: Invalid service
catalog service: compute

However, keystone service-list happily displays
root at d08-00-27-2d-c3-5c:~# keystone service-list
+----------------------------------+-------------+----------+-------------------------------+
|                id                |     name    |   type   |
 description          |
+----------------------------------+-------------+----------+-------------------------------+
| 34bc1094f51040bcb3ed74f48fc29b91 |    cinder   |  volume  |    Openstack
Cinder Service   |
| 49c1b6f3bec641fca058f9926d22c9db |     ec2     |   ec2    |    EC2
Compatibility Layer    |
| 8100f46e5ae7480db3901af157f6fbbf |    glance   |  image   |    Openstack
Glance Service   |
| a88aaf3dcdf9489cb3e5d2e2f78f33e1 |   keystone  | identity |   Openstack
Identity Service  |
| bae925f91af7457bb0b4a90bac2624d3 |     nova    | compute  |     Openstack
Nova Service    |
| eafb5e26b0934066876cf7870ae81928 | nova-volume |  volume  | Openstack
Nova Volume Service |
+----------------------------------+-------------+----------+-------------------------------+


Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130126/56e651a2/attachment.html>


More information about the OpenStack-dev mailing list