Unable to authorize user

asked 2012-04-06 22:16:34 -0500

donald-mize gravatar image

After installing and doing the 'db_sync' command, I try to create a default tenant per the instructions in the manual and get this.

keystone --token 012345secret99token012345 --endpoint http://172.17.86.8:35357/v2.0 tenant-create --name openstackDemo --description "Default Tenant" --enabled true No handlers could be found for logger "keystoneclient.client" Unable to authorize user root@xnode8:~#

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2012-04-10 19:59:33 -0500

donald-mize gravatar image

I found the issue. It was between the keyboard and the chair!! :-)

edit flag offensive delete link more
0

answered 2012-04-10 20:23:57 -0500

donald-mize gravatar image

To be more specific, the admin_token in the keystone.conf file wasn't set to what I was trying to pass on the command line. The docs I was looking at wasn't clear on this.

-----Original Message----- From: bounces@canonical.com [mailto:bounces@canonical.com] On Behalf Of Don Mize Sent: Tuesday, April 10, 2012 3:01 PM To: Mize, Donald Subject: Re: [Question #192864]: Unable to authorize user

Your question #192864 on Keystone changed: https://answers.launchpad.net/keystone/+question/192864 (https://answers.launchpad.net/keyston...)

Status: Open => Solved

You confirmed that the question is solved: I found the issue. It was between the keyboard and the chair!! :-)


You received this question notification because you asked the question.

edit flag offensive delete link more
0

answered 2013-03-17 08:17:59 -0500

nginus gravatar image

I tried replacing the example token with the token I created in keystone.conf & I still get the same error. I even did export SERVICE_TOKEN=tokenfoo as root as per a blog post I saw on the error & it still errors the same.

What is the right way to do this so it works?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-04-06 22:16:34 -0500

Seen: 175 times

Last updated: Mar 17 '13