[Openstack] devstack installation failing

Vaze, Mandar Mandar.Vaze at nttdata.com
Fri May 25 06:53:21 UTC 2012


Salman,

Can you confirm that ALL your projects are up-to-date ? As I mentioned in my original response, I got this error because my nova project was updated, and keystone was not.

You can run the following command on the terminal from the directory that has all your Openstack projects (e.g. from /opt/stack)

"cd /opt/stack ; for d in `ls -1`; do echo "updating $d"; cd $d; git pull; cd /opt/stack; done"

-Mandar


From: Salman Malik [mailto:salmanmk at live.com]
Sent: Thursday, May 24, 2012 7:47 PM
To: dolph.mathews at gmail.com; Vaze, Mandar
Cc: openstack at lists.launchpad.net
Subject: RE: [Openstack] devstack installation failing

Thanks guys. Here is the output of the curl command:

{"error": {"message": "Invalid tenant", "code": 401, "title": "Not Authorized"}}

Seems like there is no such tenant in keystone database. I tried doing keystone tenant-list but it keeps on asking for one extra argument each time (i.e after keystone tenant-list, I tried "keystone --os_username admin tenant-list" and "keystone --os_username --os_password tenant-list" ). Anyway, what could be th cause of keystone's database problems?


________________________________
Date: Thu, 24 May 2012 00:40:19 -0500
Subject: Re: [Openstack] devstack installation failing
From: dolph.mathews at gmail.com<mailto:dolph.mathews at gmail.com>
To: Mandar.Vaze at nttdata.com<mailto:Mandar.Vaze at nttdata.com>
CC: salmanmk at live.com<mailto:salmanmk at live.com>; openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>

The output to the curl command below should definitely point you in the right direction -- devstack is expecting keystone to return an authentication response there, but it's getting something else instead. Feel free to paste the results to the list.

-Dolph
On Wed, May 23, 2012 at 11:47 PM, Vaze, Mandar <Mandar.Vaze at nttdata.com<mailto:Mandar.Vaze at nttdata.com>> wrote:
Last time when I ran into this error, I had updated (git pull) only nova, but forgot to update keystone.
Once I updated (git pull) all the other projects, including keystone, the error went away.

Few things you can use for troubleshooting :

1.       Run this command from terminal - See if the outpur gives any clue : "curl -s -d '{"auth":{"passwordCredentials": {"username": "admin", "password": "nova"}, "tenantName": "admin"}}' -H 'Content-type: application/json' http://10.0.3.15:5000/v2.0/tokens"
2.       Check the keystone database, see if user admin and tenant admin are created OK

-Mandar

From: openstack-bounces+mandar.vaze=nttdata.com at lists.launchpad.net<mailto:nttdata.com at lists.launchpad.net> [mailto:openstack-bounces+mandar.vaze<mailto:openstack-bounces%2Bmandar.vaze>=nttdata.com at lists.launchpad.net<mailto:nttdata.com at lists.launchpad.net>] On Behalf Of Salman Malik
Sent: Thursday, May 24, 2012 9:48 AM
To: openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Subject: [Openstack] devstack installation failing

Hi All,

While installing devstack, installation is failing with the error :
++ python -c 'import sys; import json; tok = json.loads(sys.stdin.read()); print tok['\''access'\'']['\''token'\'']['\''id'\''];'
++ curl -s -d '{"auth":{"passwordCredentials": {"username": "admin", "password": "nova"}, "tenantName": "admin"}}' -H 'Content-type: application/json' http://10.0.3.15:5000/v2.0/tokens
Traceback (most recent call last):
  File "<string>", line 1, in <module>
KeyError: 'access'

With some searching I know this has something to do with the keystone but I have no clue how to resolve this one.
Thanks for your help.

Salman

______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding

_______________________________________________
Mailing list: https://launchpad.net/~openstack<https://launchpad.net/%7Eopenstack>
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack<https://launchpad.net/%7Eopenstack>
More help   : https://help.launchpad.net/ListHelp


______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120525/a924b6d9/attachment.html>


More information about the Openstack mailing list