Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Dashborad doesn't work (ServiceCatalogException at /admin/, Invalid service catalog service: compute)

It seems that all other component is working fine. But I couldn't get Horizon dashboard access with the following debug error in browser. I tried to re-setup service, endpoint in keystone and around horizon related config file several time. The error is always same.

Does anyone have the idea and information of fixing this error? Here is my related information.

Here is my other install information and environment.

  • Ubuntu Server 12.04.4 LTS on vSphere5.0
  • Havana
  • manual install component to 3 VM (controller, network, compute)

debug (browser)

ServiceCatalogException at /admin/

Invalid service catalog service: compute

Request Method:     GET
Request URL:    http://192.168.2.181/horizon/admin/
Django Version:     1.5.4
Exception Type:     ServiceCatalogException
Exception Value:    

Invalid service catalog service: compute

Exception Location:     /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py in url_for, line 268
Python Executable:  /usr/bin/python
Python Version:     2.7.3
Python Path:    

['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/share/openstack-dashboard/',
 '/usr/share/openstack-dashboard/openstack_dashboard']

Server time:    Sat, 12 Apr 2014 04:00:01 +0000

root@controller:~# keystone service-list

+----------------------------------+----------+----------+------------------------------+
|                id                |   name   |   type   |         description          |
+----------------------------------+----------+----------+------------------------------+
| ccd4cd4598bd4fec9d51e062976f3723 |  cinder  |  volume  |   Volume Service   |
| f5ac66e9835f457ebaee7082d97d44d5 |   ec2    |   ec2    |    EC2 service     |
| e62216c1ee7542309688175f5c0550e0 |  glance  |  image   |   Image Service    |
| a5f82f1e57784ac2aa6a3f721269fb22 | keystone | identity |      Identity      |
| c2c767628fff48babed245853b497c82 | neutron  | network  | Networking service |
| f171541d8c17491bb0cf9fad7ed547ad |   nova   | compute  |  Compute Service   |
+----------------------------------+----------+----------+------------------------------+

root@controller:~# keystone endpoint-list

+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+ | id | region | publicurl | internalurl | adminurl | service_id | +----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+ | 4a89eaad2ab94ea09bf1505d59287a40 | RegionOne | http://controller:9292 | http://controller:9292 | http://controller:9292 | e62216c1ee7542309688175f5c0550e0 | | 4c4e83f5efa841c9816156da56823d4b | RegionOne | http://controller:8776/v1/$(tenant_id)s | http://controller:8776/v1/%(tenant_id)s | http://controller:8776/v1/%(tenant_id)s | ccd4cd4598bd4fec9d51e062976f3723 | | 73c77affd18944a29afa054e3211df8b | RegionOne | http://controller:8773/services/Cloud | http://controller:8773/services/Cloud | http://controller:8773/services/Admin | f5ac66e9835f457ebaee7082d97d44d5 | | 9ef62f851ca749da9497cb3ab648e598 | RegionOne | http://controller:8774/v2/%(tenant_id)s | http://controller:8774/v2/%(tenant_id)s | http://controller:8774/v2/%(tenant_id)s | f171541d8c17491bb0cf9fad7ed547ad | | d1a64f53c7ae485b88c64b4a7a8c9c02 | RegionOne | http://controller:9696/ | http://controller:9696/ | http://controller:9696/ | c2c767628fff48babed245853b497c82 | | ff8f2e3ae8d54f7bb772c5ff4a6330a7 | RegionOne | http://controller:5000/v2.0 | http://controller:5000/v2.0 | http://controller:35357/v2.0 | a5f82f1e57784ac2aa6a3f721269fb22 | +----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+

root@controller:~# nova-manage service list

Binary           Host                                 Zone             Status     State Updated_At
nova-cert        controller                           internal         enabled    :-)   2014-04-12 05:13:57
nova-conductor   controller                           internal         enabled    :-)   2014-04-12 05:13:55
nova-consoleauth controller                           internal         enabled    :-)   2014-04-12 05:13:56
nova-scheduler   controller                           internal         enabled    :-)   2014-04-12 05:13:57
nova-compute     compute                             nova             enabled    :-)   2014-04-12 05:14:01

root@controller:/etc/openstack-dashboard# cat local_settings.py

    #OPENSTACK_HOST = "127.0.0.1"
    OPENSTACK_HOST = "controller"
    OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
    #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
    OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"
    #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"

root@controller:/var/log/apache2# more error.log

[Sat Apr 12 13:28:54 2014] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Sat Apr 12 13:28:54 2014] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Sat Apr 12 13:28:54 2014] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Sat Apr 12 04:29:08 2014] [error] Internal Server Error: /horizon/admin/
[Sat Apr 12 04:29:08 2014] [error] Traceback (most recent call last):
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115, in get_response
[Sat Apr 12 04:29:08 2014] [error]     response = callback(request, *callback_args, **callback_kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 54, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 68, in view
[Sat Apr 12 04:29:08 2014] [error]     return self.dispatch(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 86, in dispatch
[Sat Apr 12 04:29:08 2014] [error]     return handler(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 155, in get
[Sat Apr 12 04:29:08 2014] [error]     handled = self.construct_tables()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 146, in construct_tables
[Sat Apr 12 04:29:08 2014] [error]     handled = self.handle_table(table)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 118, in handle_table
[Sat Apr 12 04:29:08 2014] [error]     data = self._get_data_dict()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 182, in _get_data_dict
[Sat Apr 12 04:29:08 2014] [error]     self._data = {self.table_class._meta.name: self.get_data()}
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py", line 59, in get_data
[Sat Apr 12 04:29:08 2014] [error]     data = super(GlobalOverview, self).get_data()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py", line 28, in get_data
[Sat Apr 12 04:29:08 2014] [error]     self.usage.summarize(*self.usage.get_date_range())
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 193, in summarize
[Sat Apr 12 04:29:08 2014] [error]     _('Unable to retrieve usage information.'))
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 190, in summarize
[Sat Apr 12 04:29:08 2014] [error]     self.usage_list = self.get_usage_list(start, end)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 231, in get_usage_list
[Sat Apr 12 04:29:08 2014] [error]     return api.nova.usage_list(self.request, start, end)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 605, in usage_list
[Sat Apr 12 04:29:08 2014] [error]     novaclient(request).usage.list(start, end, True)]
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 361, in novaclient
[Sat Apr 12 04:29:08 2014] [error]     (request.user.token.id, base.url_for(request, 'compute')))
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 268, in url_for
[Sat Apr 12 04:29:08 2014] [error]     raise exceptions.ServiceCatalogException(service_type)
[Sat Apr 12 04:29:08 2014] [error] ServiceCatalogException: Invalid service catalog service: compute
click to hide/show revision 2
No.2 Revision

Dashborad doesn't work (ServiceCatalogException at /admin/, Invalid service catalog service: compute)

It seems that all other component is working fine. But I couldn't get Horizon dashboard access with the following debug error in browser. I tried to re-setup service, endpoint in keystone and around horizon related config file several time. The error is always same.

Does anyone have the idea and information of fixing this error? Here is my related information.

Here is my other install information and environment.

  • Ubuntu Server 12.04.4 LTS on vSphere5.0
  • Havana
  • manual install component to 3 VM (controller, network, compute)

debug (browser)

ServiceCatalogException at /admin/

Invalid service catalog service: compute

Request Method:     GET
Request URL:    http://192.168.2.181/horizon/admin/
Django Version:     1.5.4
Exception Type:     ServiceCatalogException
Exception Value:    

Invalid service catalog service: compute

Exception Location:     /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py in url_for, line 268
Python Executable:  /usr/bin/python
Python Version:     2.7.3
Python Path:    

['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/share/openstack-dashboard/',
 '/usr/share/openstack-dashboard/openstack_dashboard']

Server time:    Sat, 12 Apr 2014 04:00:01 +0000

root@controller:~# keystone service-list

+----------------------------------+----------+----------+------------------------------+
|                id                |   name   |   type   |         description          |
+----------------------------------+----------+----------+------------------------------+
| ccd4cd4598bd4fec9d51e062976f3723 |  cinder  |  volume  |   Volume Service   |
| f5ac66e9835f457ebaee7082d97d44d5 |   ec2    |   ec2    |    EC2 service     |
| e62216c1ee7542309688175f5c0550e0 |  glance  |  image   |   Image Service    |
| a5f82f1e57784ac2aa6a3f721269fb22 | keystone | identity |      Identity      |
| c2c767628fff48babed245853b497c82 | neutron  | network  | Networking service |
| f171541d8c17491bb0cf9fad7ed547ad |   nova   | compute  |  Compute Service   |
+----------------------------------+----------+----------+------------------------------+

root@controller:~# keystone endpoint-list

+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+
|                id                |   region  |                publicurl                |               internalurl               |                 adminurl                |            service_id            |
+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+
| 4a89eaad2ab94ea09bf1505d59287a40 | RegionOne |          http://controller:9292         |          http://controller:9292         |          http://controller:9292         | e62216c1ee7542309688175f5c0550e0 |
| 4c4e83f5efa841c9816156da56823d4b | RegionOne | http://controller:8776/v1/$(tenant_id)s | http://controller:8776/v1/%(tenant_id)s | http://controller:8776/v1/%(tenant_id)s | ccd4cd4598bd4fec9d51e062976f3723 |
| 73c77affd18944a29afa054e3211df8b | RegionOne |  http://controller:8773/services/Cloud  |  http://controller:8773/services/Cloud  |  http://controller:8773/services/Admin  | f5ac66e9835f457ebaee7082d97d44d5 |
| 9ef62f851ca749da9497cb3ab648e598 | RegionOne | http://controller:8774/v2/%(tenant_id)s | http://controller:8774/v2/%(tenant_id)s | http://controller:8774/v2/%(tenant_id)s | f171541d8c17491bb0cf9fad7ed547ad |
| d1a64f53c7ae485b88c64b4a7a8c9c02 | RegionOne |         http://controller:9696/         |         http://controller:9696/         |         http://controller:9696/         | c2c767628fff48babed245853b497c82 |
| ff8f2e3ae8d54f7bb772c5ff4a6330a7 | RegionOne |       http://controller:5000/v2.0       |       http://controller:5000/v2.0       |       http://controller:35357/v2.0      | a5f82f1e57784ac2aa6a3f721269fb22 |
+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+

+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+

root@controller:~# nova-manage service list

Binary           Host                                 Zone             Status     State Updated_At
nova-cert        controller                           internal         enabled    :-)   2014-04-12 05:13:57
nova-conductor   controller                           internal         enabled    :-)   2014-04-12 05:13:55
nova-consoleauth controller                           internal         enabled    :-)   2014-04-12 05:13:56
nova-scheduler   controller                           internal         enabled    :-)   2014-04-12 05:13:57
nova-compute     compute                             nova             enabled    :-)   2014-04-12 05:14:01

root@controller:/etc/openstack-dashboard# cat local_settings.py

    #OPENSTACK_HOST = "127.0.0.1"
    OPENSTACK_HOST = "controller"
    OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
    #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
    OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"
    #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"

root@controller:/var/log/apache2# more error.log

[Sat Apr 12 13:28:54 2014] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Sat Apr 12 13:28:54 2014] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Sat Apr 12 13:28:54 2014] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Sat Apr 12 04:29:08 2014] [error] Internal Server Error: /horizon/admin/
[Sat Apr 12 04:29:08 2014] [error] Traceback (most recent call last):
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115, in get_response
[Sat Apr 12 04:29:08 2014] [error]     response = callback(request, *callback_args, **callback_kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 54, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 68, in view
[Sat Apr 12 04:29:08 2014] [error]     return self.dispatch(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 86, in dispatch
[Sat Apr 12 04:29:08 2014] [error]     return handler(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 155, in get
[Sat Apr 12 04:29:08 2014] [error]     handled = self.construct_tables()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 146, in construct_tables
[Sat Apr 12 04:29:08 2014] [error]     handled = self.handle_table(table)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 118, in handle_table
[Sat Apr 12 04:29:08 2014] [error]     data = self._get_data_dict()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 182, in _get_data_dict
[Sat Apr 12 04:29:08 2014] [error]     self._data = {self.table_class._meta.name: self.get_data()}
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py", line 59, in get_data
[Sat Apr 12 04:29:08 2014] [error]     data = super(GlobalOverview, self).get_data()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py", line 28, in get_data
[Sat Apr 12 04:29:08 2014] [error]     self.usage.summarize(*self.usage.get_date_range())
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 193, in summarize
[Sat Apr 12 04:29:08 2014] [error]     _('Unable to retrieve usage information.'))
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 190, in summarize
[Sat Apr 12 04:29:08 2014] [error]     self.usage_list = self.get_usage_list(start, end)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 231, in get_usage_list
[Sat Apr 12 04:29:08 2014] [error]     return api.nova.usage_list(self.request, start, end)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 605, in usage_list
[Sat Apr 12 04:29:08 2014] [error]     novaclient(request).usage.list(start, end, True)]
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 361, in novaclient
[Sat Apr 12 04:29:08 2014] [error]     (request.user.token.id, base.url_for(request, 'compute')))
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 268, in url_for
[Sat Apr 12 04:29:08 2014] [error]     raise exceptions.ServiceCatalogException(service_type)
[Sat Apr 12 04:29:08 2014] [error] ServiceCatalogException: Invalid service catalog service: compute

Dashborad doesn't work (ServiceCatalogException at /admin/, Invalid service catalog service: compute)

It seems that all other component is working fine. But I couldn't get Horizon dashboard access with the following debug error in browser. I tried to re-setup service, endpoint in keystone and around horizon related config file several time. The error is always same.

Does anyone have the idea and information of fixing this error? Here is my related information.

Here is my other install information and environment.

  • Ubuntu Server 12.04.4 LTS on vSphere5.0
  • Havana
  • manual install component to 3 VM (controller, network, compute)

debug (browser)

ServiceCatalogException at /admin/

Invalid service catalog service: compute

Request Method:     GET
Request URL:    http://192.168.2.181/horizon/admin/
Django Version:     1.5.4
Exception Type:     ServiceCatalogException
Exception Value:    

Invalid service catalog service: compute

Exception Location:     /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py in url_for, line 268
Python Executable:  /usr/bin/python
Python Version:     2.7.3
Python Path:    

['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/share/openstack-dashboard/',
 '/usr/share/openstack-dashboard/openstack_dashboard']

Server time:    Sat, 12 Apr 2014 04:00:01 +0000

root@controller:~# keystone service-list

+----------------------------------+----------+----------+------------------------------+
|                id                |   name   |   type   |         description          |
+----------------------------------+----------+----------+------------------------------+
| ccd4cd4598bd4fec9d51e062976f3723 |  cinder  |  volume  |   Volume Service   |
| f5ac66e9835f457ebaee7082d97d44d5 |   ec2    |   ec2    |    EC2 service     |
| e62216c1ee7542309688175f5c0550e0 |  glance  |  image   |   Image Service    |
| a5f82f1e57784ac2aa6a3f721269fb22 | keystone | identity |      Identity      |
| c2c767628fff48babed245853b497c82 | neutron  | network  | Networking service |
| f171541d8c17491bb0cf9fad7ed547ad |   nova   | compute  |  Compute Service   |
+----------------------------------+----------+----------+------------------------------+

root@controller:~# keystone endpoint-list

+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+
|                id                |   region  |                publicurl                |               internalurl               |                 adminurl                |            service_id            |
+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+
| 4a89eaad2ab94ea09bf1505d59287a40 | RegionOne |          http://controller:9292         |          http://controller:9292         |          http://controller:9292         | e62216c1ee7542309688175f5c0550e0 |
| 4c4e83f5efa841c9816156da56823d4b | RegionOne | http://controller:8776/v1/$(tenant_id)s | http://controller:8776/v1/%(tenant_id)s | http://controller:8776/v1/%(tenant_id)s | ccd4cd4598bd4fec9d51e062976f3723 |
| 73c77affd18944a29afa054e3211df8b | RegionOne |  http://controller:8773/services/Cloud  |  http://controller:8773/services/Cloud  |  http://controller:8773/services/Admin  | f5ac66e9835f457ebaee7082d97d44d5 |
| 9ef62f851ca749da9497cb3ab648e598 | RegionOne | http://controller:8774/v2/%(tenant_id)s | http://controller:8774/v2/%(tenant_id)s | http://controller:8774/v2/%(tenant_id)s | f171541d8c17491bb0cf9fad7ed547ad |
| d1a64f53c7ae485b88c64b4a7a8c9c02 | RegionOne |         http://controller:9696/         |         http://controller:9696/         |         http://controller:9696/         | c2c767628fff48babed245853b497c82 |
| ff8f2e3ae8d54f7bb772c5ff4a6330a7 | RegionOne |       http://controller:5000/v2.0       |       http://controller:5000/v2.0       |       http://controller:35357/v2.0      | a5f82f1e57784ac2aa6a3f721269fb22 |
+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+

root@controller:~# nova-manage service list

Binary           Host                                 Zone             Status     State Updated_At
nova-cert        controller                           internal         enabled    :-)   2014-04-12 05:13:57
nova-conductor   controller                           internal         enabled    :-)   2014-04-12 05:13:55
nova-consoleauth controller                           internal         enabled    :-)   2014-04-12 05:13:56
nova-scheduler   controller                           internal         enabled    :-)   2014-04-12 05:13:57
nova-compute     compute                             nova             enabled    :-)   2014-04-12 05:14:01

root@controller:/etc/openstack-dashboard# cat local_settings.py

    #OPENSTACK_HOST = "127.0.0.1"
    OPENSTACK_HOST = "controller"
    OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
    #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
    OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"
    #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"

root@controller:/var/log/apache2# more error.log

[Sat Apr 12 13:28:54 2014] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Sat Apr 12 13:28:54 2014] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Sat Apr 12 13:28:54 2014] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Sat Apr 12 04:29:08 2014] [error] Internal Server Error: /horizon/admin/
[Sat Apr 12 04:29:08 2014] [error] Traceback (most recent call last):
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115, in get_response
[Sat Apr 12 04:29:08 2014] [error]     response = callback(request, *callback_args, **callback_kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 54, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 68, in view
[Sat Apr 12 04:29:08 2014] [error]     return self.dispatch(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 86, in dispatch
[Sat Apr 12 04:29:08 2014] [error]     return handler(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 155, in get
[Sat Apr 12 04:29:08 2014] [error]     handled = self.construct_tables()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 146, in construct_tables
[Sat Apr 12 04:29:08 2014] [error]     handled = self.handle_table(table)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 118, in handle_table
[Sat Apr 12 04:29:08 2014] [error]     data = self._get_data_dict()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 182, in _get_data_dict
[Sat Apr 12 04:29:08 2014] [error]     self._data = {self.table_class._meta.name: self.get_data()}
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py", line 59, in get_data
[Sat Apr 12 04:29:08 2014] [error]     data = super(GlobalOverview, self).get_data()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py", line 28, in get_data
[Sat Apr 12 04:29:08 2014] [error]     self.usage.summarize(*self.usage.get_date_range())
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 193, in summarize
[Sat Apr 12 04:29:08 2014] [error]     _('Unable to retrieve usage information.'))
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 190, in summarize
[Sat Apr 12 04:29:08 2014] [error]     self.usage_list = self.get_usage_list(start, end)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 231, in get_usage_list
[Sat Apr 12 04:29:08 2014] [error]     return api.nova.usage_list(self.request, start, end)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 605, in usage_list
[Sat Apr 12 04:29:08 2014] [error]     novaclient(request).usage.list(start, end, True)]
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 361, in novaclient
[Sat Apr 12 04:29:08 2014] [error]     (request.user.token.id, base.url_for(request, 'compute')))
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 268, in url_for
[Sat Apr 12 04:29:08 2014] [error]     raise exceptions.ServiceCatalogException(service_type)
[Sat Apr 12 04:29:08 2014] [error] ServiceCatalogException: Invalid service catalog service: compute

Dashborad doesn't work (ServiceCatalogException at /admin/, Invalid service catalog service: compute)

It seems that all other component is working fine. But I couldn't get Horizon dashboard access with the following debug error in browser. I tried to re-setup service, endpoint in keystone and around horizon related config file several time. The error is always same.

Does anyone have the idea and information of fixing this error? Here is my related information.

Here is my other install information and environment.

  • Ubuntu Server 12.04.4 LTS on vSphere5.0
  • Havana
  • manual install component to 3 VM (controller, network, compute)

debug (browser)

ServiceCatalogException at /admin/

Invalid service catalog service: compute

Request Method:     GET
Request URL:    http://192.168.2.181/horizon/admin/
Django Version:     1.5.4
Exception Type:     ServiceCatalogException
Exception Value:    

Invalid service catalog service: compute

Exception Location:     /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py in url_for, line 268
Python Executable:  /usr/bin/python
Python Version:     2.7.3
Python Path:    

['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/share/openstack-dashboard/',
 '/usr/share/openstack-dashboard/openstack_dashboard']

Server time:    Sat, 12 Apr 2014 04:00:01 +0000

root@controller:~# keystone service-list

+----------------------------------+----------+----------+------------------------------+
|                id                |   name   |   type   |         description          |
+----------------------------------+----------+----------+------------------------------+
| ccd4cd4598bd4fec9d51e062976f3723 |  cinder  |  volume  |   Volume Service   |
| f5ac66e9835f457ebaee7082d97d44d5 |   ec2    |   ec2    |    EC2 service     |
| e62216c1ee7542309688175f5c0550e0 |  glance  |  image   |   Image Service    |
| a5f82f1e57784ac2aa6a3f721269fb22 | keystone | identity |      Identity      |
| c2c767628fff48babed245853b497c82 | neutron  | network  | Networking service |
| f171541d8c17491bb0cf9fad7ed547ad |   nova   | compute  |  Compute Service   |
+----------------------------------+----------+----------+------------------------------+

root@controller:~# keystone endpoint-list

+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+
|                id                |   region  |                publicurl                |               internalurl               |                 adminurl                |            service_id            |
+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+
| 4a89eaad2ab94ea09bf1505d59287a40 | RegionOne |          http://controller:9292         |          http://controller:9292         |          http://controller:9292         | e62216c1ee7542309688175f5c0550e0 |
| 4c4e83f5efa841c9816156da56823d4b | RegionOne | http://controller:8776/v1/$(tenant_id)s | http://controller:8776/v1/%(tenant_id)s | http://controller:8776/v1/%(tenant_id)s | ccd4cd4598bd4fec9d51e062976f3723 |
| 73c77affd18944a29afa054e3211df8b | RegionOne |  http://controller:8773/services/Cloud  |  http://controller:8773/services/Cloud  |  http://controller:8773/services/Admin  | f5ac66e9835f457ebaee7082d97d44d5 |
| 9ef62f851ca749da9497cb3ab648e598 | RegionOne | http://controller:8774/v2/%(tenant_id)s | http://controller:8774/v2/%(tenant_id)s | http://controller:8774/v2/%(tenant_id)s | f171541d8c17491bb0cf9fad7ed547ad |
| d1a64f53c7ae485b88c64b4a7a8c9c02 | RegionOne |         http://controller:9696/         |         http://controller:9696/         |         http://controller:9696/         | c2c767628fff48babed245853b497c82 |
| ff8f2e3ae8d54f7bb772c5ff4a6330a7 | RegionOne |       http://controller:5000/v2.0       |       http://controller:5000/v2.0       |       http://controller:35357/v2.0      | a5f82f1e57784ac2aa6a3f721269fb22 |
+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+

root@controller:~# nova-manage service list

Binary           Host                                 Zone             Status     State Updated_At
nova-cert        controller                           internal         enabled    :-)   2014-04-12 05:13:57
nova-conductor   controller                           internal         enabled    :-)   2014-04-12 05:13:55
nova-consoleauth controller                           internal         enabled    :-)   2014-04-12 05:13:56
nova-scheduler   controller                           internal         enabled    :-)   2014-04-12 05:13:57
nova-compute     compute                             nova             enabled    :-)   2014-04-12 05:14:01

root@controller:/etc/openstack-dashboard# cat local_settings.py

    #OPENSTACK_HOST = "127.0.0.1"
    OPENSTACK_HOST = "controller"
    OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
    #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
    OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"
    #OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"

root@controller:/var/log/apache2# more error.log

[Sat Apr 12 13:28:54 2014] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Sat Apr 12 13:28:54 2014] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Sat Apr 12 13:28:54 2014] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Sat Apr 12 04:29:08 2014] [error] Internal Server Error: /horizon/admin/
[Sat Apr 12 04:29:08 2014] [error] Traceback (most recent call last):
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115, in get_response
[Sat Apr 12 04:29:08 2014] [error]     response = callback(request, *callback_args, **callback_kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 54, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Sat Apr 12 04:29:08 2014] [error]     return view_func(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 68, in view
[Sat Apr 12 04:29:08 2014] [error]     return self.dispatch(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 86, in dispatch
[Sat Apr 12 04:29:08 2014] [error]     return handler(request, *args, **kwargs)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 155, in get
[Sat Apr 12 04:29:08 2014] [error]     handled = self.construct_tables()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 146, in construct_tables
[Sat Apr 12 04:29:08 2014] [error]     handled = self.handle_table(table)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 118, in handle_table
[Sat Apr 12 04:29:08 2014] [error]     data = self._get_data_dict()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 182, in _get_data_dict
[Sat Apr 12 04:29:08 2014] [error]     self._data = {self.table_class._meta.name: self.get_data()}
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py", line 59, in get_data
[Sat Apr 12 04:29:08 2014] [error]     data = super(GlobalOverview, self).get_data()
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py", line 28, in get_data
[Sat Apr 12 04:29:08 2014] [error]     self.usage.summarize(*self.usage.get_date_range())
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 193, in summarize
[Sat Apr 12 04:29:08 2014] [error]     _('Unable to retrieve usage information.'))
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 190, in summarize
[Sat Apr 12 04:29:08 2014] [error]     self.usage_list = self.get_usage_list(start, end)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 231, in get_usage_list
[Sat Apr 12 04:29:08 2014] [error]     return api.nova.usage_list(self.request, start, end)
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 605, in usage_list
[Sat Apr 12 04:29:08 2014] [error]     novaclient(request).usage.list(start, end, True)]
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 361, in novaclient
[Sat Apr 12 04:29:08 2014] [error]     (request.user.token.id, base.url_for(request, 'compute')))
[Sat Apr 12 04:29:08 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 268, in url_for
[Sat Apr 12 04:29:08 2014] [error]     raise exceptions.ServiceCatalogException(service_type)
[Sat Apr 12 04:29:08 2014] [error] ServiceCatalogException: Invalid service catalog service: compute