[Openstack] nova and keystone on Ubuntu 11.10

Torsten Spindler torsten at canonical.com
Fri Dec 9 07:39:27 UTC 2011


I tried to setup nova and keystone on Ubuntu 11.10, based on packages by
Chuck in a PPA [1]. So far it does not work, it seems that nova does not
contact keystone at all.

I setup keystone according to the documentation available and the curl
examples do work, e.g. curl -H "X-Auth-Token:999888777666"
http://localhost:5000/v2.0/tenants does show the tenants.

When using nova-manage to get the demo users credential, I see the
following error in nova-manage.log: http://pastebin.ubuntu.com/764653/
I think that nova never really talks to keystone, as there are no traces
in keystone logs.

I placed the nova.conf file here [2] and the api-paste-keystone.ini here
[3], in case there is a config error.

The packages in use are basically 2011.3+git20111117-0ubuntu1 from the
PPA plus a modified nova/api/openstack/__init__.py to provide the
_setup_routes method, as in the original source it only contained:
raise NotImplementedError(_("You must implement _setup_routes."))
The modified __init__.py is here [4].

I suspect that simply taking the _setup_routes method from trunk is not
enough to integrate keystone properly with that version of nova. Any
advice on what else might be need to done to get this going?


[1] https://launchpad.net/~zulcss/+archive/openstack-sru-updates
[2] http://pastebin.ubuntu.com/764654/
[3] http://pastebin.ubuntu.com/764656/
[4] http://pastebin.ubuntu.com/764658/

More information about the Openstack mailing list