<div>Hello ,</div><div><br></div><div>The message is this:</div><div><br></div><img src="cid:ii_1336a418ee476621" alt="image.png" title="image.png"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Roberto Dalas Z. Benavides</b> <span dir="ltr"><<a href="mailto:betodalas@gmail.com">betodalas@gmail.com</a>></span><br>Date: 2011/11/3<br>Subject: Re: [Openstack-operators] Dashboard + Keystone<br>
To: Michael J Fork <<a href="mailto:mjfork@us.ibm.com">mjfork@us.ibm.com</a>><br><br><br><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">Good morning</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">Michael</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">,</span><br style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">
<br style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">Now</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">connect</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">the</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">dashboar</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">,</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">but shows</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">an error</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">on the display panel</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">:</span><br style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">
<br style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"><br style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">
<span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">Unable to get</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">usage</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">info:</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">Could not</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">verify</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">this server</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">That You</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">Are</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">Authorized</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">to</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">access</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">the</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">document</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">you</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">requested.</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">Either</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">you</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">supplied</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">the</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">wrong</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">credentials (</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">eg</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">, bad</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">password),</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">or</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">your</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">browser</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">does</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">not</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">Understand</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">how to</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">supply</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">the</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">credentials</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">required.</span><br style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">
<br style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">You</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">know what can</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">be?</span><div class="HOEnZb">
<div class="h5"><div>
<font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3"><br></font><br><div class="gmail_quote">
2011/11/3 Roberto Dalas Z. Benavides <span dir="ltr"><<a href="mailto:betodalas@gmail.com" target="_blank">betodalas@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Michael,<div><br></div><div><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">The</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">keystone</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">folder</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">must be</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">inside the folder</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)"> </span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">dashboard</span><span style="color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:16px;background-color:rgb(245, 245, 245)">?</span></div>
<div><font color="#333333" face="arial, sans-serif" size="3"><br></font></div><div><font color="#333333" face="arial, sans-serif" size="3">thanks<br></font><br><div class="gmail_quote">
2011/11/3 Roberto Dalas Z. Benavides <span dir="ltr"><<a href="mailto:betodalas@gmail.com" target="_blank">betodalas@gmail.com</a>></span><div><div></div><div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Michael,<div><br></div><div>Fallow:</div><div><div>[03/Nov/2011 06:38:38] "GET /static/dashboard/css/Anivers_Regular-webfont.woff H TTP/1.1" 200 29432</div>
<div>
<div>DEBUG:django_openstack.api:auth_api connection created using url "<a href="http://10.168" target="_blank">http://10.168</a>. 1.35:5000/v2.0/"</div>
<div>ERROR:django_openstack.auth:Error authenticating: Unauthorized</div><div>Traceback (most recent call last):</div><div> File "/src/openstack-horizon-90f51fc/django-openstack/django_openstack/auth/vi ews.py", line 65, in handle</div>
<div> data['password'])</div><div> File "/src/openstack-horizon-90f51fc/django-openstack/django_openstack/api.py" , line 643, in token_create</div>
<div> return Token(auth_api().tokens.create(tenant, username, password))</div><div> File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o penstackx/openstackx/auth/tokens.py", line 55, in create</div>
<div> return self._create('tokens', params, "access")</div><div> File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o penstackx/openstackx/api/base.py", line 40, in _create</div>
<div> resp, body = self.api.connection.post(url, body=body)</div><div> File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o penstackx/openstackx/api/connection.py", line 81, in post</div>
<div> return self._cs_request(url, 'POST', **kwargs)</div><div> File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o penstackx/openstackx/api/connection.py", line 66, in _cs_request</div>
<div> raise ex</div><div>Unauthorized: Unauthorized (HTTP 401)</div></div><div>[03/Nov/2011 06:38:43] "POST /auth/login/?next=/dash/ HTTP/1.1" 200 1373</div><div><div>DEBUG:django_openstack.api:auth_api connection created using url "<a href="http://10.168" target="_blank">http://10.168</a>. 1.35:5000/v2.0/"</div>
<div>ERROR:django_openstack.auth:Error authenticating: Unauthorized</div><div>Traceback (most recent call last):</div><div> File "/src/openstack-horizon-90f51fc/django-openstack/django_openstack/auth/vi ews.py", line 65, in handle</div>
<div> data['password'])</div><div> File "/src/openstack-horizon-90f51fc/django-openstack/django_openstack/api.py" , line 643, in token_create</div>
<div> return Token(auth_api().tokens.create(tenant, username, password))</div><div> File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o penstackx/openstackx/auth/tokens.py", line 55, in create</div>
<div> return self._create('tokens', params, "access")</div><div> File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o penstackx/openstackx/api/base.py", line 40, in _create</div>
<div> resp, body = self.api.connection.post(url, body=body)</div><div> File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o penstackx/openstackx/api/connection.py", line 81, in post</div>
<div> return self._cs_request(url, 'POST', **kwargs)</div><div> File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o penstackx/openstackx/api/connection.py", line 66, in _cs_request</div>
<div> raise ex</div><div>Unauthorized: Unauthorized (HTTP 401)</div></div><div>[03/Nov/2011 06:38:46] "POST /auth/login/?next=/dash/ HTTP/1.1" 200 1373</div><div><br></div><div><br></div><div><br></div><div>
<br></div>
<div><div>root@OPSTACK-PAINEL:/src/keystone# keystone-manage token list</div><div><div>token user expiration tenant</div><div>-------------------------------------------------------------------------------</div>
<div>
999888777666 1 <a href="tel:2015-02-05%2000" value="+12015020500" target="_blank">2015-02-05 00</a>:00:00 1</div></div><div>root@OPSTACK-PAINEL:/src/keystone# keystone-manage user list</div><div>id name enabled tenant</div>
<div>-------------------------------------------------------------------------------</div>
<div>1 admin 1 None</div><div>root@OPSTACK-PAINEL:/src/keystone# keystone-manage tenant list</div><div>id name enabled</div><div>-------------------------------------------------------------------------------</div>
<div>1 admin 1</div><div>root@OPSTACK-PAINEL:/src/keystone# keystone-manage roles list</div><div>Supported objects: user, tenant, role, service, endpointTemplates, token, endpoint, credentials</div><div>root@OPSTACK-PAINEL:/src/keystone# keystone-manage role list</div>
<div>id name</div><div>-------------------------------------------------------------------------------</div><div>1 Admin</div><div>2 KeystoneServiceAdmin</div></div><div><br></div><div><br></div><div><div style="border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(245, 245, 245);border-right-color:rgb(245, 245, 245);border-bottom-color:rgb(245, 245, 245);border-left-color:rgb(245, 245, 245);background-color:rgb(255, 255, 255);color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px">
<div><div dir="ltr" style="zoom:1"><span lang="en" style="font-size:16px;color:rgb(51, 51, 51);padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px;min-height:93px;display:block"><span>In</span> <span>keystone.log</span> <span>does not show the</span> <span>logs</span> <span>when I try to</span> <span>log</span> <span>only</span> <span>shows errors</span> <span>in the logs</span><span>of the</span> <span>dashboard</span></span><span lang="en" style="font-size:16px;color:rgb(51, 51, 51);padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px;min-height:93px;display:block"><span><br>
</span></span><span lang="en" style="font-size:16px;color:rgb(51, 51, 51);padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px;min-height:93px;display:block"><span>Thanks</span></span></div>
</div><div style="overflow-x:hidden;overflow-y:hidden;padding-top:0px;padding-right:4px;padding-bottom:4px;padding-left:4px;min-height:26px"><div style="float:left">
</div><div style="float:right"><div style="float:left"><div title="" style="display:inline-block;border-top-left-radius:2px 2px;border-top-right-radius:2px 2px;border-bottom-right-radius:2px 2px;border-bottom-left-radius:2px 2px;background-color:initial;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;outline-style:none;outline-width:initial;outline-color:initial;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:24px;color:rgb(68, 68, 68);line-height:24px;list-style-type:none;list-style-position:initial;font-size:11px;font-weight:bold;text-decoration:none;vertical-align:middle;background-repeat:initial initial">
<div style="display:inline-block;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<div style="display:inline-block;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:top;padding-top:0px;padding-right:2px;padding-bottom:0px;padding-left:2px">
<div style="display:inline-block;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="width:21px;min-height:21px;display:inline-block;background-color:initial;vertical-align:middle;background-repeat:no-repeat no-repeat"></span></div>
</div></div></div></div></div></div></div></div><div><div></div><div><br><div class="gmail_quote">2011/11/1 Michael J Fork <span dir="ltr"><<a href="mailto:mjfork@us.ibm.com" target="_blank">mjfork@us.ibm.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font size="2" face="sans-serif">Can you send the stacktrace and logs? Looks
like you are missing an entry in your keystone DB.</font>
<br><div><font size="2" face="sans-serif"><br>
Michael<br>
<br>
-------------------------------------------------<br>
Michael Fork<br>
Cloud Architect, Emerging Solutions<br>
IBM Systems & Technology Group</font>
<br>
<br>
<br>
<br><font size="1" color="#5f5f5f" face="sans-serif">From:
</font><font size="1" face="sans-serif">"Roberto Dalas
Z. Benavides" <<a href="mailto:betodalas@gmail.com" target="_blank">betodalas@gmail.com</a>></font>
<br><font size="1" color="#5f5f5f" face="sans-serif">To:
</font><font size="1" face="sans-serif">Michael J Fork/Rochester/IBM@IBMUS</font>
<br></div><font size="1" color="#5f5f5f" face="sans-serif">Date:
</font><font size="1" face="sans-serif">11/01/2011 10:39 AM</font>
<br><div><div></div><div><font size="1" color="#5f5f5f" face="sans-serif">Subject:
</font><font size="1" face="sans-serif">Re: [Openstack-operators]
Dashboard + Keystone</font>
<br>
<hr noshade>
<br>
<br>
<br><font size="3">I ran this command and showed the error:<br>
11.01.2011 12:29:55 ERROR [root] 'NoneType' object has no attribute 'id'<br>
<br>
I installed via apt-get keystone, all right?<br>
<br>
thanks<br>
</font>
<br><font size="3">2011/11/1 Michael J Fork <</font><a href="mailto:mjfork@us.ibm.com" target="_blank"><font size="3" color="blue"><u>mjfork@us.ibm.com</u></font></a><font size="3">></font>
<br><font size="2" face="sans-serif">Run this</font><font size="3"> </font>
<br><font size="1"><br>
bin/keystone-manage role grant Admin admin</font><font size="3"> <br>
</font>
<br><font size="2" face="sans-serif">It looks like the admin user doesn't
have the Admin role without a tenant.</font><font size="3"> </font>
<br><font size="2" face="sans-serif"><br>
Michael<br>
<br>
-------------------------------------------------<br>
Michael Fork<br>
Cloud Architect, Emerging Solutions<br>
IBM Systems & Technology Group</font><font size="3"> <br>
<br>
<br>
</font><font size="1" color="#5f5f5f" face="sans-serif"><br>
From: </font><font size="1" face="sans-serif">"Roberto
Dalas Z. Benavides" <</font><a href="mailto:betodalas@gmail.com" target="_blank"><font size="1" color="blue" face="sans-serif"><u>betodalas@gmail.com</u></font></a><font size="1" face="sans-serif">></font><font size="3">
</font><font size="1" color="#5f5f5f" face="sans-serif"><br>
To: </font><font size="1" face="sans-serif">Michael
J Fork/Rochester/IBM@IBMUS</font><font size="3"> </font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Date:
</font><font size="1" face="sans-serif">11/01/2011 10:09 AM</font><font size="3">
</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Subject:
</font><font size="1" face="sans-serif">Re: [Openstack-operators]
Dashboard + Keystone</font><font size="3"> <br>
</font>
<hr noshade><font size="3"><br>
<br>
<br>
Yes,<br>
<br>
fallow:<br>
<br>
/etc/keystone# sqlite3 keystone.db<br>
SQLite version 3.7.7 2011-06-23 19:49:22<br>
Enter ".help" for instructions<br>
Enter SQL statements terminated with a ";"<br>
sqlite> select * from user_roles;<br>
1|1|1|<br>
2|1|2|<br>
3|1|3|1<br>
sqlite> sqlite> select * from roles;<br>
Error: near "sqlite": syntax error<br>
sqlite> select * from roles;<br>
1|KeystoneAdmin||<br>
2|KeystoneServiceAdmin||<br>
3|Admin||<br>
sqlite> select * from tenants;<br>
1|admin||1<br>
sqlite><br>
<br>
<br>
thanks<br>
<br>
2011/11/1 Michael J Fork <</font><a href="mailto:mjfork@us.ibm.com" target="_blank"><font size="3" color="blue"><u>mjfork@us.ibm.com</u></font></a><font size="3">>
<br>
Just to confirm, you are trying to login in as admin with a password of
secrete? </font><font size="2" face="sans-serif"><br>
<br>
Show me the following commands:</font><font size="3"> </font><font size="2" face="sans-serif"><b><br>
<br>
sqlite> select * from user_roles;</b></font><font size="3"> </font><font size="2" face="sans-serif"><br>
id|user_id|role_id|tenant_id</font><font size="3"> </font><font size="2" face="sans-serif"><br>
1|1|1|</font><font size="3"> </font><font size="2" face="sans-serif"><br>
2|1|1|1</font><font size="3"> </font><font size="2" face="sans-serif"><b><br>
<br>
sqlite> select * from roles;</b></font><font size="3"> </font><font size="2" face="sans-serif"><br>
id|name|desc|service_id</font><font size="3"> </font><font size="2" face="sans-serif"><br>
1|Admin||</font><font size="3"> </font><font size="2" face="sans-serif"><b><br>
<br>
sqlite> select * from tenants;</b></font><font size="3"> </font><font size="2" face="sans-serif"><br>
id|name|desc|enabled</font><font size="3"> </font><font size="2" face="sans-serif"><br>
1|admin||1</font><font size="3"> </font><font size="2" face="sans-serif"><br>
<br>
Michael<br>
<br>
-------------------------------------------------<br>
Michael Fork<br>
Cloud Architect, Emerging Solutions<br>
IBM Systems & Technology Group</font><font size="3"> <br>
<br>
</font><font size="1" color="#5f5f5f" face="sans-serif"><br>
<br>
From: </font><font size="1" face="sans-serif">"Roberto
Dalas Z. Benavides" <</font><a href="mailto:betodalas@gmail.com" target="_blank"><font size="1" color="blue" face="sans-serif"><u>betodalas@gmail.com</u></font></a><font size="1" face="sans-serif">></font><font size="3">
</font><font size="1" color="#5f5f5f" face="sans-serif"><br>
To: </font><font size="1" face="sans-serif">Michael
J Fork/Rochester/IBM@IBMUS</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Date: </font><font size="1" face="sans-serif">11/01/2011
09:55 AM</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Subject: </font><font size="1" face="sans-serif">Re:
[Openstack-operators] Dashboard + Keystone</font><font size="3"> <br>
</font>
<hr noshade><font size="3"><br>
<br>
<br>
Fallow ,my dashboard configuration:<br>
<br>
import os<br>
<br>
DEBUG = True<br>
TEMPLATE_DEBUG = DEBUG<br>
PROD = False<br>
USE_SSL = False<br>
<br>
LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))<br>
DATABASES = {<br>
'default': {<br>
'ENGINE': 'django.db.backends.sqlite3',<br>
'NAME': os.path.join(LOCAL_PATH,
'dashboard_openstack.sqlite3'),<br>
},<br>
}<br>
<br>
CACHE_BACKEND = 'dummy://'<br>
<br>
<br>
# Send email to the console by default<br>
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'<br>
# Or send them to /dev/null<br>
#EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'<br>
<br>
# django-mailer uses a different settings attribute<br>
MAILER_EMAIL_BACKEND = EMAIL_BACKEND<br>
<br>
# Configure these for your outgoing email host<br>
# EMAIL_HOST = '</font><a href="http://smtp.my-company.com/" target="_blank"><font size="3" color="blue"><u>smtp.my-company.com</u></font></a><font size="3">'<br>
# EMAIL_PORT = 25<br>
# EMAIL_HOST_USER = 'djangomail'<br>
# EMAIL_HOST_PASSWORD = 'top-secret!'<br>
<br>
OPENSTACK_ADMIN_TOKEN = "999888777666"<br>
OPENSTACK_KEYSTONE_URL = "</font><a href="http://10.168.1.35:5000/v2.0/" target="_blank"><font size="3" color="blue"><u>http://10.168.1.35:5000/v2.0/</u></font></a><font size="3">"<br>
# FIXME: this is only needed until keystone fixes its GET /tenants call<br>
# so that it doesn't return everything for admins<br>
OPENSTACK_KEYSTONE_ADMIN_URL = "</font><a href="http://10.168.1.35:35357/v2.0" target="_blank"><font size="3" color="blue"><u>http://10.168.1.35:35357/v2.0</u></font></a><font size="3">"<br>
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "KeystoneAdmin"<br>
<br>
# NOTE(tres): Available services should come from the service<br>
#
catalog in Keystone.<br>
SWIFT_ENABLED = False<br>
<br>
# Configure quantum connection details for networking<br>
QUANTUM_ENABLED = True<br>
"/src/openstack-horizon-90f51fc/openstack-dashboard/local/local_settings.py"
92L, 2771C <br>
<br>
thanks<br>
<br>
2011/11/1 Roberto Dalas Z. Benavides <</font><a href="mailto:betodalas@gmail.com" target="_blank"><font size="3" color="blue"><u>betodalas@gmail.com</u></font></a><font size="3">>
<br>
Hello MIchael<br>
<br>
The result:<br>
<br>
/etc/keystone# sqlite3 keystone.db<br>
SQLite version 3.7.7 2011-06-23 19:49:22<br>
Enter ".help" for instructions<br>
Enter SQL statements terminated with a ";"<br>
<br>
sqlite> select * from users;<br>
<br>
1|admin|secrete||1|<br>
sqlite> <br>
<br>
<br>
<br>
2011/11/1 Michael J Fork <</font><a href="mailto:mjfork@us.ibm.com" target="_blank"><font size="3" color="blue"><u>mjfork@us.ibm.com</u></font></a><font size="3">>
</font><font size="2" face="sans-serif"><br>
Run "sqlite3 <path to keystone.db>" and then</font><font size="3">
</font><font size="2" face="sans-serif"><br>
<br>
.mode column</font><font size="3"> </font><font size="2" face="sans-serif"><br>
.headers on</font><font size="3"> </font><font size="2" face="sans-serif"><br>
select * from users;</font><font size="3"> </font><font size="2" face="sans-serif"><br>
<br>
does it look like this (note blank tenant):</font><font size="3"> <br>
<br>
</font><img src="cid:_1_0A03F5A40A03CC10006CEAA48525793B" width="1263" height="59"><font size="2" face="sans-serif"><br>
<br>
Michael<br>
<br>
-------------------------------------------------<br>
Michael Fork<br>
Cloud Architect, Emerging Solutions<br>
IBM Systems & Technology Group</font><font size="3"> <br>
</font><font size="1" color="#5f5f5f" face="sans-serif"><br>
<br>
<br>
From: </font><font size="1" face="sans-serif">"Roberto
Dalas Z. Benavides" <</font><a href="mailto:betodalas@gmail.com" target="_blank"><font size="1" color="blue" face="sans-serif"><u>betodalas@gmail.com</u></font></a><font size="1" face="sans-serif">></font><font size="3">
</font><font size="1" color="#5f5f5f" face="sans-serif"><br>
To: </font><font size="1" face="sans-serif">Michael
J Fork/Rochester/IBM@IBMUS</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Date: </font><font size="1" face="sans-serif">11/01/2011
09:27 AM</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Subject: </font><font size="1" face="sans-serif">Re:
[Openstack-operators] Dashboard + Keystone</font><font size="3"> <br>
</font>
<hr noshade><font size="3"><br>
<br>
<br>
Hello Michael,<br>
<br>
I did it, but still giving error is the following:<br>
<br>
DEBUG:django_openstack.api:auth_api connection created using url "</font><a href="http://10.168/" target="_blank"><font size="3" color="blue"><u>http://10.168</u></font></a><font size="3">.
1.35:5000/v2.0/"<br>
ERROR:django_openstack.auth:Error authenticating: Unauthorized<br>
Traceback (most recent call last):<br>
File "/src/openstack-horizon-90f51fc/django-openstack/django_openstack/auth/vi
ews.py", line 65, in handle<br>
data['password'])<br>
File "/src/openstack-horizon-90f51fc/django-openstack/django_openstack/api.py"
, line 643, in token_create<br>
return Token(auth_api().tokens.create(tenant, username,
password))<br>
File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o
penstackx/openstackx/auth/tokens.py", line 55, in create<br>
return self._create('tokens', params, "access")<br>
File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o
penstackx/openstackx/api/base.py", line 40, in _create<br>
resp, body = self.api.connection.post(url, body=body)<br>
File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o
penstackx/openstackx/api/connection.py", line 81, in post<br>
return self._cs_request(url, 'POST', **kwargs)<br>
File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o
penstackx/openstackx/api/connection.py", line 66, in _cs_request<br>
raise ex<br>
Unauthorized: Unauthorized (HTTP 401)<br>
[01/Nov/2011 11:23:56] "POST /auth/login/?next=/dash/ HTTP/1.1"
200 1373<br>
<br>
and keystone.log:<br>
<br>
2011-11-01 11:22:02 WARNING [eventlet.wsgi.server] 127.0.0.1 - -
[01/Nov/2011 1
1:22:02] "POST /v2.0/tokens HTTP/1.1" 401 193 0.002366<br>
2011-11-01 11:22:02 WARNING [eventlet.wsgi.server] 127.0.0.1 - -
[01/Nov/2011 1
1:22:02] "POST /v2.0/tokens HTTP/1.1" 401 193 0.002366<br>
2011-11-01 11:23:56 WARNING [eventlet.wsgi.server] 10.168.1.35 -
- [01/Nov/2011
11:23:56] "POST /v2.0/tokens HTTP/1.1" 401 193 0.002244<br>
2011-11-01 11:23:56 WARNING [eventlet.wsgi.server] 10.168.1.35 -
- [01/Nov/2011
11:23:56] "POST /v2.0/tokens HTTP/1.1" 401 193 0.00224<br>
<br>
<br>
<br>
thanks<br>
<br>
2011/11/1 Michael J Fork <</font><a href="mailto:mjfork@us.ibm.com" target="_blank"><font size="3" color="blue"><u>mjfork@us.ibm.com</u></font></a><font size="3">>
</font><font size="2" face="sans-serif"><br>
I would verify the username and password are correct. Additionally,
here are the steps I take to setup keystone:</font><font size="3"> </font><font size="1"><br>
<br>
bin/keystone-manage service add swift object-store "Swift-compatible
Service"</font><font size="3"> </font><font size="1"><br>
bin/keystone-manage service add nova compute "OpenStack Compute Service"</font><font size="3">
</font><font size="1"><br>
bin/keystone-manage service add nova_compat compute "OpenStack Compute
Service"</font><font size="3"> </font><font size="1"><br>
bin/keystone-manage service add glance image "OpenStack Image Service"</font><font size="3">
</font><font size="1"><br>
bin/keystone-manage service add identity identity "OpenStack Identity
Service"</font><font size="3"> </font><font size="1"><br>
<br>
bin/keystone-manage endpointTemplates add Region1 nova_compat </font><a href="http://192.168.1.74:8774/v1.0/" target="_blank"><font size="1" color="blue"><u>http://192.168.1.74:8774/v1.0/</u></font></a><font size="1">
</font><a href="http://192.168.1.74:8774/v1.0" target="_blank"><font size="1" color="blue"><u>http://192.168.1.74:8774/v1.0</u></font></a><font size="1">
</font><a href="http://192.168.1.74:8774/v1.0" target="_blank"><font size="1" color="blue"><u>http://192.168.1.74:8774/v1.0</u></font></a><font size="1">
1 1</font><font size="3"> </font><font size="1"><br>
bin/keystone-manage endpointTemplates add Region1 nova </font><a href="http://192.168.1.74:8774/v1.1/%tenant_id%" target="_blank"><font size="1" color="blue"><u>http://192.168.1.74:8774/v1.1/%tenant_id%</u></font></a><font size="1">
</font><a href="http://192.168.1.74:8774/v1.1/%tenant_id%" target="_blank"><font size="1" color="blue"><u>http://192.168.1.74:8774/v1.1/%tenant_id%</u></font></a><font size="1">
</font><a href="http://192.168.1.74:8774/v1.1/%tenant_id%" target="_blank"><font size="1" color="blue"><u>http://192.168.1.74:8774/v1.1/%tenant_id%</u></font></a><font size="1">
1 1 <br>
bin/keystone-manage endpointTemplates add Region1 glance </font><a href="http://192.168.1.87:9292/v1.1/%tenant_id%" target="_blank"><font size="1" color="blue"><u>http://192.168.1.87:9292/v1.1/%tenant_id%</u></font></a><font size="1">
</font><a href="http://192.168.1.87:9292/v1.1/%tenant_id%" target="_blank"><font size="1" color="blue"><u>http://192.168.1.87:9292/v1.1/%tenant_id%</u></font></a><font size="1">
</font><a href="http://192.168.1.87:9292/v1.1/%tenant_id%" target="_blank"><font size="1" color="blue"><u>http://192.168.1.87:9292/v1.1/%tenant_id%</u></font></a><font size="1">
1 1 <br>
bin/keystone-manage endpointTemplates add Region1 identity </font><a href="http://192.168.1.84:5000/v2.0" target="_blank"><font size="1" color="blue"><u>http://192.168.1.84:5000/v2.0</u></font></a><font size="1">
</font><a href="http://192.168.1.84:35357/v2.0" target="_blank"><font size="1" color="blue"><u>http://192.168.1.84:35357/v2.0</u></font></a><font size="1">
</font><a href="http://192.168.1.84:5000/v2.0" target="_blank"><font size="1" color="blue"><u>http://192.168.1.84:5000/v2.0</u></font></a><font size="1">
1 1 <br>
<br>
bin/keystone-manage user add admin admin</font><font size="3"> </font><font size="1"><br>
bin/keystone-manage tenant add admin</font><font size="3"> </font><font size="1"><br>
bin/keystone-manage role add Admin</font><font size="3"> </font><font size="1"><br>
bin/keystone-manage role grant Admin admin</font><font size="3"> </font><font size="1"><br>
bin/keystone-manage role grant Admin admin admin</font><font size="3"> </font><font size="1"><br>
<br>
bin/keystone-manage endpoint add admin <br>
<br>
bin/keystone-manage role add KeystoneServiceAdmin</font><font size="3"> </font><font size="1"><br>
<br>
bin/keystone-manage token add 999888777666 admin admin 2015-02-05T00:00</font><font size="3">
</font><font size="2" face="sans-serif"><br>
<br>
If, after running these commands, you cannot login as user/password admin/admin,
send me your keystone.log.</font><font size="3"> </font><font size="2" face="sans-serif"><br>
<br>
Michael<br>
<br>
-------------------------------------------------<br>
Michael Fork<br>
Cloud Architect, Emerging Solutions<br>
IBM Systems & Technology Group</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
<br>
<br>
<br>
From: </font><font size="1" face="sans-serif">"Roberto
Dalas Z. Benavides" <</font><a href="mailto:betodalas@gmail.com" target="_blank"><font size="1" color="blue" face="sans-serif"><u>betodalas@gmail.com</u></font></a><font size="1" face="sans-serif">></font><font size="3">
</font><font size="1" color="#5f5f5f" face="sans-serif"><br>
To: </font><font size="1" face="sans-serif">Michael
J Fork/Rochester/IBM@IBMUS</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Date: </font><font size="1" face="sans-serif">10/31/2011
01:08 PM</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Subject: </font><font size="1" face="sans-serif">Re:
[Openstack-operators] Dashboard + Keystone</font><font size="3"> <br>
</font>
<hr noshade><font size="3"><br>
<br>
<br>
Error:<br>
<br>
31/Oct/2011 15:04:04] "POST /auth/login/?next=/dash/ HTTP/1.1"
200 1303<br>
DEBUG:django_openstack.api:auth_api connection created using url "</font><a href="http://localho/" target="_blank"><font size="3" color="blue"><u>http://localho</u></font></a><font size="3">
st:5000/v2.0/"<br>
ERROR:django_openstack.auth:Error authenticating: Unauthorized<br>
Traceback (most recent call last):<br>
File "/src/openstack-horizon-90f51fc/django-openstack/django_openstack/auth/vi
ews.py", line 65, in handle<br>
data['password'])<br>
File "/src/openstack-horizon-90f51fc/django-openstack/django_openstack/api.py"
, line 643, in token_create<br>
return Token(auth_api().tokens.create(tenant, username,
password))<br>
File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o
penstackx/openstackx/auth/tokens.py", line 55, in create<br>
return self._create('tokens', params, "access")<br>
File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o
penstackx/openstackx/api/base.py", line 40, in _create<br>
resp, body = self.api.connection.post(url, body=body)<br>
File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o
penstackx/openstackx/api/connection.py", line 81, in post<br>
return self._cs_request(url, 'POST', **kwargs)<br>
File "/src/openstack-horizon-90f51fc/openstack-dashboard/.dashboard-venv/src/o
penstackx/openstackx/api/connection.py", line 66, in _cs_request<br>
raise ex<br>
Unauthorized: Unauthorized (HTTP 401)<br>
[31/Oct/2011 15:04:07] "POST /auth/login/?next=/dash/ HTTP/1.1"
200 1372<br>
<br>
Thanks<br>
<br>
2011/10/31 Roberto Dalas Z. Benavides <</font><a href="mailto:betodalas@gmail.com" target="_blank"><font size="3" color="blue"><u>betodalas@gmail.com</u></font></a><font size="3">>
<br>
Fallow results:<br>
<br>
passlib.registry: INFO registered crypt handler
'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'><br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO PRAGMA
table_info("services")<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO ()<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO PRAGMA
table_info("tokens")<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO ()<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO PRAGMA
table_info("tenants")<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO ()<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO PRAGMA
table_info("endpoint_templates")<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO ()<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO PRAGMA
table_info("users")<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO ()<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO PRAGMA
table_info("roles")<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO ()<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO PRAGMA
table_info("user_roles")<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO ()<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO PRAGMA
table_info("endpoints")<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO ()<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO PRAGMA
table_info("credentials")<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO ()<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO SELECT
</font><a href="http://tokens.id/" target="_blank"><font size="3" color="blue"><u>tokens.id</u></font></a><font size="3">
AS tokens_id, tokens.user_id AS tokens_user_id, tokens.tenant_id AS tokens_tenant_id,
tokens.expires AS tokens_expires<br>
FROM tokens<br>
sqlalchemy.engine.base.Engine.0x...5a10: INFO ()<br>
token user expiration
tenant<br>
-------------------------------------------------------------------------------<br>
999888777666 1 </font><a href="tel:2015-02-05%2000" target="_blank"><font size="3" color="blue"><u>2015-02-05
00</u></font></a><font size="3">:00:00 1<br>
999888777666555 1 </font><a href="tel:2015-02-05%2000" target="_blank"><font size="3" color="blue"><u>2015-02-05
00</u></font></a><font size="3">:00:00 1<br>
999888777666444 3 </font><a href="tel:2015-02-05%2000" target="_blank"><font size="3" color="blue"><u>2015-02-05
00</u></font></a><font size="3">:00:00 4<br>
<br>
<br>
Thanks <br>
<br>
<br>
2011/10/31 Michael J Fork <</font><a href="mailto:mjfork@us.ibm.com" target="_blank"><font size="3" color="blue"><u>mjfork@us.ibm.com</u></font></a><font size="3">>
</font><font size="2" face="sans-serif"><br>
I see the error has changed to UNAUTHORIZED, perhaps while verifying the
token (don't have handy access to the source to verify). I would
double check the token that Dashboard is using is valid within Keystone
("keystone-manage token list" I believe).</font><font size="3">
</font><font size="2" face="sans-serif"><br>
<br>
Michael<br>
<br>
-------------------------------------------------<br>
Michael Fork<br>
Cloud Architect, Emerging Solutions<br>
IBM Systems & Technology Group</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
<br>
<br>
<br>
From: </font><font size="1" face="sans-serif">"Roberto
Dalas Z. Benavides" <</font><a href="mailto:betodalas@gmail.com" target="_blank"><font size="1" color="blue" face="sans-serif"><u>betodalas@gmail.com</u></font></a><font size="1" face="sans-serif">></font><font size="3">
</font><font size="1" color="#5f5f5f" face="sans-serif"><br>
To: </font><font size="1" face="sans-serif">Michael
J Fork/Rochester/IBM@IBMUS</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Date: </font><font size="1" face="sans-serif">10/31/2011
07:08 AM</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Subject: </font><font size="1" face="sans-serif">Re:
[Openstack-operators] Dashboard + Keystone</font><font size="3"> <br>
</font>
<hr noshade><font size="3"><br>
<br>
<br>
<br>
Hello Michael, <br>
<br>
The external ip is listening, telnet also works. Following is the log of
the dashboard:<br>
<br>
DEBUG:novaclient.client:RESP:{'date': 'Mon, 31 Oct 2011 11:05:07 GMT',
'status':
'401', 'content-length': '60', 'content-type': 'application/json; charset=UTF-8
'} {"unauthorized": {"message": "Unauthorized",
"code": "401"}}<br>
<br>
ERROR:django_openstack.forms:Nonspecific error while handling form<br>
Traceback (most recent call last):<br>
File "/src/horizon/django-openstack/django_openstack/forms.py",
line 177, in m
aybe_handle<br>
return form, form.handle(request, data)<br>
File "/src/horizon/django-openstack/django_openstack/auth/views.py",
line 66,
in handle<br>
data['password'])<br>
File "/src/horizon/django-openstack/django_openstack/api.py",
line 680, in tok
en_create<br>
c.authenticate()<br>
File "/src/horizon/openstack-dashboard/.dashboard-venv/src/python-novaclient/n
ovaclient/client.py", line 210, in authenticate<br>
auth_url = self._v2_auth(auth_url)<br>
File "/src/horizon/openstack-dashboard/.dashboard-venv/src/python-novaclient/n
ovaclient/client.py", line 262, in _v2_auth<br>
resp, body = self.request(token_url, "POST",
body=body)<br>
File "/src/horizon/openstack-dashboard/.dashboard-venv/src/python-novaclient/n
ovaclient/client.py", line 101, in request<br>
raise exceptions.from_response(resp, body)<br>
Unauthorized: Unauthorized (HTTP 401)<br>
[31/Oct/2011 09:05:07] "POST /auth/login/?next=/dash/ HTTP/1.1"
200 1370<br>
<br>
<br>
<br>
2011/10/31 Michael J Fork <</font><a href="mailto:mjfork@us.ibm.com" target="_blank"><font size="3" color="blue"><u>mjfork@us.ibm.com</u></font></a><font size="3">>
</font><font size="2" face="sans-serif"><br>
Couple of thoughts:</font><font size="3"> </font><font size="2" face="sans-serif"><br>
<br>
1) Turn on the verbose/debug logging for Keystone and Dashboard</font><font size="3">
</font><font size="2" face="sans-serif"><br>
1) run "netstat -tnap" on the Keystone server and make sure that
the keystone process is listening on an external IP (or 0.0.0.0), if it
is not, adjust the config file, restart, and try again.</font><font size="3">
</font><font size="2" face="sans-serif"><br>
2) Make sure you can telnet from the dashboard machine to the IP/Port that
Keystone is running on</font><font size="3"> </font><font size="2" face="sans-serif"><br>
3) Check the contents of keystone.log to see if dashboard is talking to
it.</font><font size="3"> </font><font size="2" face="sans-serif"><br>
<br>
If none of this works, pass along the dashboard.log/keystone.log and I
can take a look.</font><font size="3"> </font><font size="2" face="sans-serif"><br>
<br>
Thanks.</font><font size="3"> </font><font size="2" face="sans-serif"><br>
<br>
Michael<br>
<br>
-------------------------------------------------<br>
Michael Fork<br>
Cloud Architect, Emerging Solutions<br>
IBM Systems & Technology Group</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
<br>
<br>
<br>
From: </font><font size="1" face="sans-serif">"Roberto
Dalas Z. Benavides" <</font><a href="mailto:betodalas@gmail.com" target="_blank"><font size="1" color="blue" face="sans-serif"><u>betodalas@gmail.com</u></font></a><font size="1" face="sans-serif">></font><font size="3">
</font><font size="1" color="#5f5f5f" face="sans-serif"><br>
To: </font><a href="mailto:openstack-operators@lists.openstack.org" target="_blank"><font size="1" color="blue" face="sans-serif"><u>openstack-operators@lists.openstack.org</u></font></a><font size="3">
</font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Date: </font><font size="1" face="sans-serif">10/31/2011
05:46 AM</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Subject: </font><font size="1" face="sans-serif">[Openstack-operators]
Dashboard + Keystone</font><font size="3"> </font><font size="1" color="#5f5f5f" face="sans-serif"><br>
Sent by: </font><a href="mailto:openstack-operators-bounces@lists.openstack.org" target="_blank"><font size="1" color="blue" face="sans-serif"><u>openstack-operators-bounces@lists.openstack.org</u></font></a><font size="3">
<br>
</font>
<hr noshade><font size="3"><br>
<br>
<br>
<br>
Hello everyone,<br>
<br>
I'm trying to access the dashboard using the sta Keystone and giving the
error:<br>
<br>
[31/Oct/2011 07:06:07] "POST / auth / login /? Next = / dash / HTTP/1.1"
200 1363<br>
[31/Oct/2011 07:17:41] "GET / auth / login /? Next = / dash / HTTP/1.1"
200 1228<br>
DEBUG: novaclient.client: REQ: </font><a href="http://10.168.1.4:5000/v2.0/tokens" target="_blank"><font size="3" color="blue"><u>http://10.168.1.4:5000/v2.0/tokens</u></font></a><font size="3">
<br>
curl-i-X POST-H "Content-Type: application / json"-H "User-Agent:
python-novaclient " <br>
<br>
<br>
DEBUG: novaclient.client: BODY REQ: {"auth": {"passwordCredentials":
{"username": "dualtec", "password": "status64"}}}<br>
<br>
DEBUG: novaclient.client: RESP: {'status': '400', 'content-length': 24,
'content-ty pe': 'text / plain'} [Errno 111] ECONNREFUSED<br>
<br>
When I give the command / etc / init.d / keystone start but it shows that
started falling again.<br>
<br>
Does anyone know what can be?<br>
<br>
thank you </font><tt><font size="2">_______________________________________________<br>
Openstack-operators mailing list</font></tt><font size="3" color="blue"><u><br>
</u></font><a href="mailto:Openstack-operators@lists.openstack.org" target="_blank"><tt><font size="2" color="blue"><u>Openstack-operators@lists.openstack.org</u></font></tt></a><font size="3" color="blue"><u><br>
</u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank"><tt><font size="2" color="blue"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</u></font></tt></a><font size="3"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font>
<br>
<br></div></div></blockquote></div><br></div></div></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div></div><br>