[Openstack] nova and keystone on Ubuntu 11.10

Vishvananda Ishaya vishvananda at gmail.com
Fri Dec 9 17:02:00 UTC 2011


nova-manage does not talk to keystone, and exporting credentials will not work.  If you want to use keystone with nova, your best bet is to see how devstack sets up users [1] and paste config [2] and credentials [3].

[1] https://github.com/openstack-dev/devstack/blob/stable/diablo/files/keystone_data.sh
[2] https://github.com/openstack-dev/devstack/blob/stable/diablo/files/nova-api-paste.ini
[3] https://github.com/openstack-dev/devstack/blob/stable/diablo/openrc

Vish

On Dec 8, 2011, at 11:39 PM, Torsten Spindler wrote:

> Hello,
> 
> 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?
> 
> Torsten
> 
> [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/
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111209/4e154e66/attachment.html>


More information about the Openstack mailing list