Ask Your Question
2

What Endpoints and services are needed for Dashboard to work?

asked 2013-09-18 05:13:28 -0500

ArKam gravatar image

updated 2015-09-07 09:56:02 -0500

fifieldt gravatar image

Hi everyone!

I'm currently running a labs with an OpenStack Grizzly on Fedora 19. I just set up a two node architecture as this installation is for labs purpose, but I'm facing strange things here.

My first node, CLUNODE01 is the Cloud Controller node and host Horizon, glance and keystone services. The second node, CLUNODE02 is the Compute node and host Nova (Compute, schedule, api, network) and Cinder services, but it's not install for now and not listed on keystone catalog.

The problem is that when I log in Horizon using the default admin user, it throw up an exception claiming there is an error related to services catalog.

Invalid service catalog service: compute

Request Method:  GET
Request URL:     http://dashboard.domain.tld/admin/
Django Version: 1.4.6
Exception Type: ServiceCatalogException
Exception Value:    
Invalid service catalog service: compute
Exception Location: /home/uwsgi/containers/horizon/openstack_dashboard/api/base.py in url_for, line 166
Python Executable:  /usr/bin/uwsgi
Python Version: 2.7.5
Python Path:    
['/home/uwsgi/containers/horizon/',
 '.',
 '',
 '/usr/lib64/python27.zip',
 '/usr/lib64/python2.7',
 '/usr/lib64/python2.7/plat-linux2',
 '/usr/lib64/python2.7/lib-tk',
 '/usr/lib64/python2.7/lib-old',
 '/usr/lib64/python2.7/lib-dynload',
 '/usr/lib64/python2.7/site-packages',
 '/usr/lib64/python2.7/site-packages/gtk-2.0',
 '/usr/lib/python2.7/site-packages',
 '/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info',
 '/home/uwsgi/containers/horizon/openstack_dashboard']

However, when I double check my service list and endpoint list, everything seems to be ok:

Keystone Services List:

+---------------------------------------------+------------+----------+--------------------------------+
|                id                                      |   name   |   type    |       description                |
+---------------------------------------------+------------+----------+--------------------------------+
| 572b93401c7b4ae0b8f7ff5e6444ffef   |  glance  |  image   |  Images Manager Service  |
| ad4fc31a5de74e25acd8c20759c27a00 | keystone | identity | Identity Manager Service |
+---------------------------------------------+-------------+----------+-------------------------------+

Keystone Endpoint List:

+----------------------------------------------+--------------+-------------------------------------+--------------------------------------+--------------------------------------+---------------------------------------------+
|                id                                       |    region    |         publicurl                         |        internalurl                         |           adminurl                       |            service_id                              |
+----------------------------------------------+--------------+-------------------------------------+--------------------------------------+--------------------------------------+---------------------------------------------+
| 1d6841f3dc5c49f8b4ceed3b0f832f42   | RegionOne | http://CLUNODE01:5000/v2.0 | http://CLUNODE01:5000/v2.0 | http://CLUNODE01:35357/v2.0 | ad4fc31a5de74e25acd8c20759c27a00 |
| 7a9eb937c68144c184443c11610bedbc | RegionOne |   http://CLUNODE01:9292        |   http://CLUNODE01:9292    |    http://CLUNODE01:9292    | 572b93401c7b4ae0b8f7ff5e6444ffef          |
+----------------------------------------------+--------------+--------------------------------------+-------------------------------------+---------------------------------------+---------------------------------------------+

Do I need to have all component available before to be able to use the dashboard? I mean, for now, on the essex version, if I set the same installation it's just launching and then once logged in ask for services etc.

If you have any suggestions, I'm on it ;-) If you need futher informations, I'm on it too.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-09-19 04:03:06 -0500

ArKam gravatar image

According to this topic: [Horizon And Volume Service](https://answers.launchpad.net/horizon/+question/189551) It seems that Horizon/Keystone need the both Compute AND Volume to be set and link on an already existing node.

edit flag offensive delete link more

Comments

1

Compute is indeed required, but volume / cinder is optional since late Folsom / Grizzly - https://bugs.launchpad.net/horizon/+bug/1084137

jpichon gravatar imagejpichon ( 2013-10-02 10:52:01 -0500 )edit

Yep, that what I discover during my lab testing. Indeed, it needs Nova API AND Compute, if one of those are missing, Horizon is throwing a HTTP 500 Exception.

ArKam gravatar imageArKam ( 2013-10-04 10:27:52 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-18 05:13:28 -0500

Seen: 3,182 times

Last updated: Sep 07 '15