<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (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:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
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;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;background:white">Hi, </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><br>
<span style="background:white"> </span><br>
<span style="background:white">I have some issues on keystone (v3) installed from puppet module,</span><br>
<span style="background:white">some records from keystone db are not visible through openstack cli, like admin user below created by:</span><br>
<span style="background:white">/bin/openstack user create --format shell admin --enable --password a_big_secret --email test@example.tld --domain Default</span><br>
<span style="background:white"> </span><br>
<span style="background:white">I can see it in keystone db directly or via curl, </span><br>
<span style="background:white"> </span><br>
<span style="background:white">[root@charon ~]# curl -si -H"X-Auth-Token:$TOKEN" -H "Content-type: application/json"<span class="apple-converted-space"> </span></span></span><a href="http://redir.netcentrum.cz/?noaudit&url=http%3A%2F%2Flocalhost%3A35357%2Fv3%2Fusers" target="_blank"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#255C97;background:white">http://localhost:35357/v3/users</span></a><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><br>
<span style="background:white">HTTP/1.1 200 OK</span><br>
<span style="background:white">Vary: X-Auth-Token</span><br>
<span style="background:white">Content-Type: application/json</span><br>
<span style="background:white">Content-Length: 315</span><br>
<span style="background:white">Date: Fri, 19 Feb 2016 10:36:32 GMT</span><br>
<span style="background:white"> </span><br>
<span style="background:white">{"users": [{"name": "admin", "links": {"self": "</span></span><a href="http://redir.netcentrum.cz/?noaudit&url=http%3A%2F%2Flocalhost%3A35357%2Fv3%2Fusers%2F598652ccea444b99bbe2133204fa1fb4" target="_blank"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#255C97;background:white">http://localhost:35357/v3/users/598652ccea444b99bbe2133204fa1fb4</span></a><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;background:white">"},
 "domain_id": "default", "enabled": true, "email": "test@example.tld", "id": "598652ccea444b99bbe2133204fa1fb4"}], "links": {"self": "</span><a href="http://redir.netcentrum.cz/?noaudit&url=http%3A%2F%2Flocalhost%3A35357%2Fv3%2Fusers" target="_blank"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#255C97;background:white">http://localhost:35357/v3/users</span></a><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;background:white">",
 "previous": null, "next": null}}</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><br>
<span style="background:white"> </span><br>
<span style="background:white">but for some reason I can't see it from python-openstackclient</span><br>
<span style="background:white"> </span><br>
<span style="background:white">export OS_IDENTITY_API_VERSION=3</span><br>
<span style="background:white">export OS_AUTH_URL=</span></span><a href="http://redir.netcentrum.cz/?noaudit&url=http%3A%2F%2F127%2E0%2E0%2E1%3A35357%2Fv3" target="_blank"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#255C97;background:white">http://127.0.0.1:35357/v3</span></a><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><br>
<span style="background:white">export OS_DEFAULT_DOMAIN=default</span><br>
<span style="background:white">export OS_USER_DOMAIN_NAME=default</span><br>
<span style="background:white">export OS_PROJECT_DOMAIN_NAME=default</span><br>
<span style="background:white">export OS_USERNAME=admin</span><br>
<span style="background:white">export OS_PASSWORD=a_big_secret</span><br>
<span style="background:white">export OS_PROJECT_NAME=admin</span><br>
<span style="background:white"> </span><br>
<span style="background:white"> </span><br>
<span style="background:white">root@charon ~]# openstack user list --debug</span><br>
<span style="background:white">...........................................</span><br>
<span style="background:white">INFO: openstackclient.common.clientmanager Using auth plugin: v3password</span><br>
<span style="background:white">INFO: openstackclient.shell command: openstackclient.identity.v3.user.ListUser</span><br>
<span style="background:white">DEBUG: openstackclient.identity.v3.user.ListUser take_action(Namespace(columns=[], domain=None, formatter='table', group=None, long=False, max_width=0, quote_mode='nonnumeric'))</span><br>
<span style="background:white">DEBUG: openstackclient.identity.client Instantiating identity client: <class 'keystoneclient.v3.client.Client'></span><br>
<span style="background:white">DEBUG: openstackclient.identity.client Using auth plugin: None</span><br>
<span style="background:white">DEBUG: keystoneclient.auth.identity.v3 Making authentication request to<span class="apple-converted-space"> </span></span></span><a href="http://redir.netcentrum.cz/?noaudit&url=http%3A%2F%2F127%2E0%2E0%2E1%3A35357%2Fv3%2Fauth%2Ftokens" target="_blank"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#255C97;background:white">http://127.0.0.1:35357/v3/auth/tokens</span></a><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><br>
<span style="background:white">INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1</span><br>
<span style="background:white">DEBUG: requests.packages.urllib3.connectionpool "POST /v3/auth/tokens HTTP/1.1" 201 504</span><br>
<span style="background:white">ERROR: openstack The service catalog is empty.</span><br>
<span style="background:white"> </span><br>
<br>
<span style="background:white">can someone please suggest what am I doing wrong ?<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;background:white">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;background:white">Michal</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
</div>
</div>
</div>
<p>--------------------------------------------------------------<br>
Intel Research and Development Ireland Limited<br>
Registered in Ireland<br>
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare<br>
Registered Number: 308263</p>


<p>This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.</p>

<p></p>
</body>
</html>