<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-CH" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Sorry for coming back with the same problem, but I really don&#8217;t understand what is getting wrong on my install. I have CentOS 6.3 and I&#8217;m following the &#8220;Redhat Openstack Preview - Getting started guide rev. 1.0-4&#8221;.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I really follow the guide step by step and at the end from the Keystone chapter, I&#8217;m unable to get a token. I created both keystonerc_admin and keystonerc_username file and can source it successfully.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">After sourcing the keystonerc_username, I&#8217;m unable to display the user-list without giving the --os-endpoint and I&#8217;m completely unable to get a token.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I also created a special tenant named &#8220;Service&#8221; and assigned to it four new users (nova, glance, ec2 and swift), like described in the official Openstack Install and Deploy Manuel (from nov. 2012)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My keystonerc_username file is exactly the same as in the install-guide; I just replaced the loopback addresses with my server IP address in all the commands.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Here is the output from my terminal:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[admin@IICT-SV001 ~(keystone_username)]$ keystone user-list<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Expecting an endpoint provided via either --endpoint or env[SERVICE_ENDPOINT]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[admin@IICT-SV001 ~(keystone_username)]$ keystone --os-endpoint http://10.192.75.242:35357/v2.0 user-list<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">&#43;----------------------------------&#43;----------&#43;---------&#43;-------&#43;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; name&nbsp;&nbsp; | enabled | email |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">&#43;----------------------------------&#43;----------&#43;---------&#43;-------&#43;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| 0264bdc687d348a8b830b16be0c62629 |&nbsp;&nbsp; ec2&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; True&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| 25f3b67a98b145ad9e8f1ec2c602f400 | username |&nbsp;&nbsp; True&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| 2a6f404d17864052a14963d2fefa4ae0 |&nbsp;&nbsp; nova&nbsp;&nbsp; |&nbsp;&nbsp; True&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| 5ff5d5ec35a34499a5caf21d94aed8d7 |&nbsp; glance&nbsp; |&nbsp;&nbsp; True&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| b7b26d9a43c7496abec2fcbd1cd5d1e4 |&nbsp; swift&nbsp;&nbsp; |&nbsp;&nbsp; True&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| f7bfd7ba488f4df2b9feececa4a5f173 |&nbsp; admin&nbsp;&nbsp; |&nbsp;&nbsp; True&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">&#43;----------------------------------&#43;----------&#43;---------&#43;-------&#43;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[admin@IICT-SV001 ~(keystone_username)]$ keystone token-get<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Expecting an endpoint provided via either --endpoint or env[SERVICE_ENDPOINT]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[admin@IICT-SV001 ~(keystone_username)]$ keystone --os-endpoint http://10.192.75.242:35357/v2.0 token-get<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Configuration error: Client configured to run without a service catalog. Run the client using --os-auth-url or OS_AUTH_URL, instead of --os-endpoint or OS_SERVICE_ENDPOINT, for example.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[admin@IICT-SV001 ~(keystone_username)]$ echo $OS_AUTH_URL<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">http://10.192.75.242:5000/v2.0/<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">So as you can see the OS_AUTH_URL is well defined and I don&#8217;t understand why I couldn&#8217;t get a token. I already searched in different logs but couldn&#8217;t find any answer.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks a lot for your help,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Nicolas.<o:p></o:p></p>
</div>
</body>
</html>