<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> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Sorry for coming back with the same problem, but I really don’t understand what is getting wrong on my install. I have CentOS 6.3 and I’m following the “Redhat Openstack Preview - Getting started guide rev. 1.0-4”.<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’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’m unable to display the user-list without giving the --os-endpoint and I’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 “Service” 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> </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> </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">+----------------------------------+----------+---------+-------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| id | name | enabled | email |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+----------------------------------+----------+---------+-------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| 0264bdc687d348a8b830b16be0c62629 | ec2 | True | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| 25f3b67a98b145ad9e8f1ec2c602f400 | username | True | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| 2a6f404d17864052a14963d2fefa4ae0 | nova | True | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| 5ff5d5ec35a34499a5caf21d94aed8d7 | glance | True | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| b7b26d9a43c7496abec2fcbd1cd5d1e4 | swift | True | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| f7bfd7ba488f4df2b9feececa4a5f173 | admin | True | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+----------------------------------+----------+---------+-------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </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> </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> </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> </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’t understand why I couldn’t get a token. I already searched in different logs but couldn’t find any answer.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </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> </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>