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:salma...@live.com]
Sent: Thursday, May 24, 2012 7:47 PM
To: dolph.math...@gmail.com; Vaze, Mandar
Cc: openstack@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.math...@gmail.com<mailto:dolph.math...@gmail.com>
To: mandar.v...@nttdata.com<mailto:mandar.v...@nttdata.com>
CC: salma...@live.com<mailto:salma...@live.com>; 
openstack@lists.launchpad.net<mailto:openstack@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.v...@nttdata.com<mailto:mandar.v...@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....@lists.launchpad.net<mailto:nttdata....@lists.launchpad.net>
 
[mailto:openstack-bounces+mandar.vaze<mailto:openstack-bounces%2Bmandar.vaze>=nttdata....@lists.launchpad.net<mailto:nttdata....@lists.launchpad.net>]
 On Behalf Of Salman Malik
Sent: Thursday, May 24, 2012 9:48 AM
To: openstack@lists.launchpad.net<mailto:openstack@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@lists.launchpad.net<mailto:openstack@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
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to