<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,<br>
</p>
<p><br>
</p>
<p>I did check the attached doc. I find that the keystone is not associated properly with the role.<br>
</p>
<p><br>
</p>
<p>You can try to unset and then keystone token-get, after which try executing the keystone commands by sourcing from the file.<br>
</p>
<p><br>
</p>
<p>Let me know if that helps.<br>
</p>
<p><br>
</p>
<p>Regards,<br>
</p>
<p>Raghavendra Lad<br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Louis-Philippe Reid <louis.philippe.reid@gmail.com><br>
<b>Sent:</b> Tuesday, September 9, 2014 7:25 PM<br>
<b>To:</b> Lad, Raghavendra<br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack] Keystone problem</font>
<div> </div>
</div>
<div>
<div dir="ltr">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. 
<div><br>
</div>
<div>
<div>[root@lecloud100 ~]# env | grep OS_</div>
<div>OS_PASSWORD=xxxxxxxxxx</div>
<div>OS_AUTH_URL=<a href="http://lecloud100:35357/v2.0">http://lecloud100:35357/v2.0</a></div>
<div>OS_USERNAME=admin</div>
<div>OS_TENANT_NAME=admin</div>
</div>
<div><br>
</div>
<div>
<div># keystone user-list</div>
<div>'NoneType' object has no attribute 'encode'</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Here is all the information used to create the config, line by line and debug outputs:</div>
<div><br>
</div>
<div><a href="http://pastebin.com/6XWVqBqb">http://pastebin.com/6XWVqBqb</a><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Sep 9, 2014 at 8:07 AM, <span dir="ltr"><<a href="mailto:raghavendra.lad@accenture.com" target="_blank">raghavendra.lad@accenture.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d">You have to unset the service service token and service endpoint.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d">Use the keystone  - -os  command to authenticate admin. Create admin associate this user, role and service.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d">Let me know if  you encounter any issues.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d">Raghavendra Lad<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Louis-Philippe Reid [mailto:<a href="mailto:louis.philippe.reid@gmail.com" target="_blank">louis.philippe.reid@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, September 09, 2014 5:28 PM<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] Keystone problem<u></u><u></u></span></p>
<div>
<div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">Hi Everyone,</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">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.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">Basically i'm stuck at "verify the identity service installation", where i'm testing the admin user.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">I get a 404 from running keystone user-list with the admin user.  It's running fine using </span><span style="font-size:9.0pt; font-family:"Tahoma","sans-serif"; color:#23302d">OS_SERVICE_TOKEN
 and OS_SERVICE_ENDPOINT.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">I get a "Auth token not in the request header." when running keystone in debug mode when i run the keystone command.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">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.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">I have dropped the keystone database and I have repeated the keystone installation 2 times with no luck.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif""># rpm -qa | grep keystone<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">python-keystone-2014.1.1-1.el6.noarch<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">openstack-keystone-2014.1.1-1.el6.noarch<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">python-keystoneclient-0.9.0-1.el6.noarch<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif""><u></u> <u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">Here is a log of relevant information:</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif""><a href="http://pastebin.com/GcgyPUbd" target="_blank">http://pastebin.com/GcgyPUbd</a></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">Thanks for you help.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
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. <br>
______________________________________________________________________________________<br>
<br>
<a href="http://www.accenture.com" target="_blank">www.accenture.com</a><br>
</font></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>