[Openstack-devel] Current state of the Folsom packaging -- horizon

Tim Spriggs tims at arizona.edu
Tue Oct 30 19:34:39 UTC 2012


On Tue, Oct 30, 2012 at 12:23 PM, Roland Mas <lolando at debian.org> wrote:
> Tim Spriggs, 2012-10-30 12:01:37 -0700 :
>
>> As is usually the case with OpenStack, tracing down errors is "fun."
>> Horizon seems to require a full set of service endpoints to be setup
>> under keystone. I don't remember 100% of the details but I think this
>> included cinder (having an older nova-volume endpoint was not enough)
>> and so logins to horizon failed without an error in the browser.
>
> Setting aside the "lessc" thing, I concur with that.  After installing
> the relavant packages and having the metapackage register a bunch of
> services, I have the following services and endpoints:
>
> root at os-mgmt:~# keystone service-list
> +----------------------------------+----------+----------+---------------------------+
> |                id                |   name   |   type   |        description        |
> +----------------------------------+----------+----------+---------------------------+
> | 38000971233d41efbdc96855b41d9a05 |  cinder  |  volume  |   Cinder Volume Service   |
> | 414b8e156dfb4215ae3dcdf31b11b41b |  glance  |  image   |    Glance Image Service   |
> | 4d9ccb6beac74304899ca5d86bcba0b8 |   ec2    |   ec2    |  EC2 Compatibility Layer  |
> | 7f60e30e5dba4531b94044bdb6a555e2 |   nova   | compute  |    Nova Compute Service   |
> | ebb1ba378ad44e949ec485788f4cd9f5 | keystone | identity | Keystone Identity Service |
> +----------------------------------+----------+----------+---------------------------+
> root at os-mgmt:~# keystone endpoint-list
> +----------------------------------+---------+------------------------------------+------------------------------------+------------------------------------+
> |                id                |  region |             publicurl              |            internalurl             |              adminurl              |
> +----------------------------------+---------+------------------------------------+------------------------------------+------------------------------------+
> | 0b1c839883654026a85c16b0bda431ee | placard | http://os-mgmt:8773/services/Cloud | http://os-mgmt:8773/services/Cloud | http://os-mgmt:8773/services/Admin |
> | 17d52fffdb8c444cbefecbecdbf45948 | placard | http://os-mgmt:8774/v2/admintenant | http://os-mgmt:8774/v2/admintenant | http://os-mgmt:8774/v2/admintenant |
> | 2896fcc52c4c4721a2fc4189ae30d0b7 | placard |      http://os-mgmt:5000/v2.0      |      http://os-mgmt:5000/v2.0      |     http://os-mgmt:35357/v2.0      |
> | 4c0fad5c9a89451fb83f37fbd05ecc12 | placard |       http://os-mgmt:9292/v1       |       http://os-mgmt:9292/v1       |       http://os-mgmt:9292/v1       |
> | d2d2bac64fe649a18e4aad24021d8f57 | placard | http://os-mgmt:8776/v1/admintenant | http://os-mgmt:8776/v1/admintenant | http://os-mgmt:8776/v1/admintenant |
> +----------------------------------+---------+------------------------------------+------------------------------------+------------------------------------+
>
> Yet the dashboard fails with an "Invalid service catalog service:
> compute" exception (at
> /usr/lib/python2.7/dist-packages/horizon/api/base.py in url_for, line
> 118).  However, as far as I could tell from the (very long and boring)
> output of an strace invocation, no connection is even attempted to
> keystone or to anything else, so maybe it's something that's only
> related to horizon and not to keystone.  I freely admit my ignorance on
> the matter, but maybe this will put someone on the right track to debug
> that.
>
> Roland.
> --
> Roland Mas
>
> Meaning lies as much / In the mind of the reader / As in the haiku
>   -- in Gödel, Escher, Bach: an Eternal Golden Braid (Douglas Hofstadter)
>
> _______________________________________________
> Openstack-devel mailing list
> Openstack-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/openstack-devel

I was under the impression that it gleaned the information from the
initial login to keystone. Anyway, I can login and I have the
following services (and corresponding endpoints) configured:

hishell:~> keystone service-list
+----------------------------------+----------+--------------+------------------------------+
|                id                |   name   |     type     |
description          |
+----------------------------------+----------+--------------+------------------------------+
| 30cd712ab04748008420e68502df96cf |  swift   | object-store |
Swift Service         |
| 35ff0e5338404c5ab5cac12ac375f883 |  volume  |    volume    |
Nova Volume Service      |
| 43c480b0683d49dba6a449a8dc6cad11 |  glance  |    image     |
Glance Image Service     |
| 6098083fcb9342029c52dc79887b6784 |   nova   |   compute    |
Nova Compute Service     |
| 6b08d6c6529d49e8a8fbe58980818374 | keystone |   identity   |
Keystone Identity Service   |
| 9e3b400f6531414c93262644f20cfda1 | quantum  |   network    |
OpenStack Networking Service |
| a2ac24dae55c4d278ee5eee9cf505bc4 |  cinder  |    volume    |
Cinder Service        |
| ba362fb8782a4bc7bf6c1bbef367d089 |   ec2    |     ec2      |   EC2
Compatibility Layer    |
+----------------------------------+----------+--------------+------------------------------+

quantum is also a required component AFAICT.

-Tim



More information about the Openstack-devel mailing list