<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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].<div><br></div><div>[1] <a href="https://github.com/openstack-dev/devstack/blob/stable/diablo/files/keystone_data.sh">https://github.com/openstack-dev/devstack/blob/stable/diablo/files/keystone_data.sh</a></div><div>[2] <a href="https://github.com/openstack-dev/devstack/blob/stable/diablo/files/nova-api-paste.ini">https://github.com/openstack-dev/devstack/blob/stable/diablo/files/nova-api-paste.ini</a></div><div>[3] <a href="https://github.com/openstack-dev/devstack/blob/stable/diablo/openrc">https://github.com/openstack-dev/devstack/blob/stable/diablo/openrc</a></div><div><br></div><div>Vish</div><div><br><div><div>On Dec 8, 2011, at 11:39 PM, Torsten Spindler wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hello,<br><br>I tried to setup nova and keystone on Ubuntu 11.10, based on packages by<br>Chuck in a PPA [1]. So far it does not work, it seems that nova does not<br>contact keystone at all.<br><br>I setup keystone according to the documentation available and the curl<br>examples do work, e.g. curl -H "X-Auth-Token:999888777666"<br><a href="http://localhost:5000/v2.0/tenants">http://localhost:5000/v2.0/tenants</a> does show the tenants.<br><br>When using nova-manage to get the demo users credential, I see the<br>following error in nova-manage.log: <a href="http://pastebin.ubuntu.com/764653/">http://pastebin.ubuntu.com/764653/</a><br>I think that nova never really talks to keystone, as there are no traces<br>in keystone logs.<br><br>I placed the nova.conf file here [2] and the api-paste-keystone.ini here<br>[3], in case there is a config error.<br><br>The packages in use are basically 2011.3+git20111117-0ubuntu1 from the<br>PPA plus a modified nova/api/openstack/__init__.py to provide the<br>_setup_routes method, as in the original source it only contained:<br>raise NotImplementedError(_("You must implement _setup_routes."))<br>The modified __init__.py is here [4].<br><br>I suspect that simply taking the _setup_routes method from trunk is not<br>enough to integrate keystone properly with that version of nova. Any<br>advice on what else might be need to done to get this going?<br><br>Torsten<br><br>[1] <a href="https://launchpad.net/~zulcss/+archive/openstack-sru-updates">https://launchpad.net/~zulcss/+archive/openstack-sru-updates</a><br>[2] <a href="http://pastebin.ubuntu.com/764654/">http://pastebin.ubuntu.com/764654/</a><br>[3] <a href="http://pastebin.ubuntu.com/764656/">http://pastebin.ubuntu.com/764656/</a><br>[4] <a href="http://pastebin.ubuntu.com/764658/">http://pastebin.ubuntu.com/764658/</a><br><br><br><br>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></div></blockquote></div><br></div></body></html>