[Openstack] Keystone problem

raghavendra.lad at accenture.com raghavendra.lad at accenture.com
Tue Sep 9 14:06:39 UTC 2014


Hi,


I did check the attached doc. I find that the keystone is not associated properly with the role.


You can try to unset and then keystone token-get, after which try executing the keystone commands by sourcing from the file.


Let me know if that helps.


Regards,

Raghavendra Lad


________________________________
From: Louis-Philippe Reid <louis.philippe.reid at gmail.com>
Sent: Tuesday, September 9, 2014 7:25 PM
To: Lad, Raghavendra
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] Keystone problem

Thanks for your quick reply,  I found an error in my installation when I defined the endpoint.  I used port 5000 for the adminurl.  I restarted from scratch, once again just to be sure it was clean and made sure ton unset the token and service endpoint has you suggested.  I did use the --os commands.   I did create admin and associate everything.  Also, the error I get since I corrected the adminurl is now different.

[root at lecloud100 ~]# env | grep OS_
OS_PASSWORD=xxxxxxxxxx
OS_AUTH_URL=http://lecloud100:35357/v2.0
OS_USERNAME=admin
OS_TENANT_NAME=admin

# keystone user-list
'NoneType' object has no attribute 'encode'


Here is all the information used to create the config, line by line and debug outputs:

http://pastebin.com/6XWVqBqb

Thanks,



On Tue, Sep 9, 2014 at 8:07 AM, <raghavendra.lad at accenture.com<mailto:raghavendra.lad at accenture.com>> wrote:
Hi,

You have to unset the service service token and service endpoint.
Use the keystone  - -os  command to authenticate admin. Create admin associate this user, role and service.
Let me know if  you encounter any issues.

Regards,
Raghavendra Lad

From: Louis-Philippe Reid [mailto:louis.philippe.reid at gmail.com<mailto:louis.philippe.reid at gmail.com>]
Sent: Tuesday, September 09, 2014 5:28 PM
To: openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: [Openstack] Keystone problem

Hi Everyone,

This is my second OpenStack installation.  My first installation has been really easy but this time I'm getting a hard time right at the start with Keystone, hope you can shed some light on this issue.  I must be doing something wrong as I did the previous installation only a week ago.

Basically i'm stuck at "verify the identity service installation", where i'm testing the admin user.

I get a 404 from running keystone user-list with the admin user.  It's running fine using OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT.

I get a "Auth token not in the request header." when running keystone in debug mode when i run the keystone command.

I can run "keystone token-get" and get the normal output (id, tenant_id, user_id, ...).  I get the "Auth token not in the request header." in the log though.

I have dropped the keystone database and I have repeated the keystone installation 2 times with no luck.

# rpm -qa | grep keystone
python-keystone-2014.1.1-1.el6.noarch
openstack-keystone-2014.1.1-1.el6.noarch
python-keystoneclient-0.9.0-1.el6.noarch

Here is a log of relevant information:

http://pastebin.com/GcgyPUbd

Thanks for you help.




________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com<http://www.accenture.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140909/e14d16b6/attachment.html>


More information about the Openstack mailing list