Unable to authorize user

Asked by Don Mize

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:~#

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Identity (keystone) Edit question
Assignee:
No assignee Edit question
Solved by:
Don Mize
Solved:
Last query:
Last reply:
Revision history for this message
Don Mize (donald-mize) said :
#1

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

Revision history for this message
Don Mize (donald-mize) said :
#2

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: <email address hidden> [mailto:<email address hidden>] 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

    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.

Revision history for this message
Justa Guy (nginus) said :
#3

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?