<div dir="ltr">Can you file a bug report against keystone so we can track this?<div><br></div><div> <a href="https://bugs.launchpad.net/keystone">https://bugs.launchpad.net/keystone</a></div><div><br></div><div>Thanks!<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 25, 2013 at 5:47 PM, Miller, Mark M (EB SW Cloud - R&D - Corvallis) <span dir="ltr"><<a href="mailto:mark.m.miller@hp.com" target="_blank">mark.m.miller@hp.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" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hello,<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">We are getting an HTTP 500 error when we try to list all trusts. We can list individual trusts, but not the generic list.<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"><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"><u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">GET REST Request:<u></u><u></u></span></u></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:10.0pt;font-family:"Segoe UI","sans-serif"">curl -v -X GET <a href="http://10.1.8.20:35357/v3/OS-TRUST/trusts" target="_blank">http://10.1.8.20:35357/v3/OS-TRUST/trusts</a> -H "X-Auth-Token: ed241ae1e986319086f3"</span><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"><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"><u></u> <u></u></span></p>
<p class="MsoNormal"><u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">REST Response:<u></u><u></u></span></u></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" style="background:white"><span style="font-size:10.0pt;font-family:Consolas;color:#333333">{<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:Consolas;color:#333333">
</span><span style="font-size:10.0pt;font-family:Consolas;color:#2a00ff">"error"</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333">: {<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:Consolas;color:#333333">
</span><span style="font-size:10.0pt;font-family:Consolas;color:#2a00ff">"message"</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333">:
</span><span style="font-size:10.0pt;font-family:Consolas;color:#2a00ff">"An unexpected error prevented the server from fulfilling your request. 'id'"</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333">,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:Consolas;color:#333333">
</span><span style="font-size:10.0pt;font-family:Consolas;color:#2a00ff">"code"</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333">:
</span><span style="font-size:10.0pt;font-family:Consolas;color:#116644">500</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333">,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:Consolas;color:#333333">
</span><span style="font-size:10.0pt;font-family:Consolas;color:#2a00ff">"title"</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333">:
</span><span style="font-size:10.0pt;font-family:Consolas;color:#2a00ff">"Internal Server Error"</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:Consolas;color:#333333"> }<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:Consolas;color:#333333">}<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"><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"><u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/var/log/keystone/keystone.log file entry:<u></u><u></u></span></u></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">2013-10-25 22:39:25 DEBUG [keystone.common.wsgi] arg_dict: {'trust_id': u'f30840dc20b3417bbc187bc15e1b72dd'}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:39:26 INFO [sqlalchemy.engine.base.Engine] SELECT <a href="http://token.id" target="_blank">token.id</a> AS token_id, token.expires AS token_expires, token.extra AS token_extra, token.valid
AS token_valid, token.user_id AS token_user_id, token.trust_id AS token_trust_id<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">FROM token<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">WHERE <a href="http://token.id" target="_blank">token.id</a> = %(param_1)s<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:39:26 INFO [sqlalchemy.engine.base.Engine] {'param_1': 'a8b2004cd0ea47be9a350890b0463fc2'}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:39:26 INFO [sqlalchemy.engine.base.Engine] SELECT <a href="http://trust.id" target="_blank">trust.id</a> AS trust_id, trust.trustor_user_id AS trust_trustor_user_id, trust.trustee_user_id
AS trust_trustee_user_id, trust.project_id AS trust_project_id, trust.impersonation AS trust_impersonation, trust.deleted_at AS trust_deleted_at, trust.expires_at AS trust_expires_at, trust.extra AS trust_extra<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">FROM trust<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">WHERE trust.deleted_at IS NULL AND <a href="http://trust.id" target="_blank">trust.id</a> = %(id_1)s<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">LIMIT %(param_1)s<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:39:26 INFO [sqlalchemy.engine.base.Engine] {'id_1': u'f30840dc20b3417bbc187bc15e1b72dd', 'param_1': 1}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:39:26 INFO [sqlalchemy.engine.base.Engine] SELECT trust_role.trust_id AS trust_role_trust_id, trust_role.role_id AS trust_role_role_id<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">FROM trust_role<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">WHERE trust_role.trust_id = %(trust_id_1)s<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:39:26 INFO [sqlalchemy.engine.base.Engine] {'trust_id_1': u'f30840dc20b3417bbc187bc15e1b72dd'}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:39:26 INFO [sqlalchemy.engine.base.Engine] SELECT <a href="http://role.id" target="_blank">role.id</a> AS role_id, <a href="http://role.name" target="_blank">role.name</a> AS role_name, role.extra AS role_extra<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">FROM role<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:39:26 INFO [sqlalchemy.engine.base.Engine] {}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:39:26 INFO [access] 127.0.0.1 - - [25/Oct/2013:22:39:26 +0000] "GET <a href="http://localhost:35357/v3/OS-TRUST/trusts/f30840dc20b3417bbc187bc15e1b72dd" target="_blank">http://localhost:35357/v3/OS-TRUST/trusts/f30840dc20b3417bbc187bc15e1b72dd</a>
HTTP/1.0" 200 626<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:39:26 DEBUG [eventlet.wsgi.server] 127.0.0.1 - - [25/Oct/2013 22:39:26] "GET /v3/OS-TRUST/trusts/f30840dc20b3417bbc187bc15e1b72dd HTTP/1.1"
200 755 0.241976<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">2013-10-25 22:41:52 DEBUG [keystone.common.wsgi] arg_dict: {}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:41:52 WARNING [keystone.common.controller] RBAC: Bypassing authorization<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:41:52 INFO [sqlalchemy.engine.base.Engine] SELECT <a href="http://token.id" target="_blank">token.id</a> AS token_id, token.expires AS token_expires, token.extra AS token_extra, token.valid
AS token_valid, token.user_id AS token_user_id, token.trust_id AS token_trust_id<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">FROM token<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">WHERE <a href="http://token.id" target="_blank">token.id</a> = %(param_1)s<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:41:52 INFO [sqlalchemy.engine.base.Engine] {'param_1': 'a03530ce84ab4384aca15d2ef8e5fa9d'}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:41:52 ERROR [keystone.token.providers.uuid] Failed to verify token<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Traceback (most recent call last):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> File "/usr/lib/python2.6/site-packages/keystone/token/providers/uuid.py", line 560, in validate_token<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> return self._validate_v3_token(token_id)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> File "/usr/lib/python2.6/site-packages/keystone/token/providers/uuid.py", line 532, in _validate_v3_token<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> token_ref = self._verify_token(token_id)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> File "/usr/lib/python2.6/site-packages/keystone/token/providers/uuid.py", line 441, in _verify_token<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> token_ref = self.token_api.get_token(token_id=token_id)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> File "/usr/lib/python2.6/site-packages/keystone/token/core.py", line 118, in get_token<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> return self.driver.get_token(self._unique_id(token_id))<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> File "/usr/lib/python2.6/site-packages/keystone/token/backends/sql.py", line 47, in get_token<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> raise exception.TokenNotFound(token_id=token_id)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">TokenNotFound: Could not find token, a03530ce84ab4384aca15d2ef8e5fa9d.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:41:52 WARNING [keystone.common.wsgi] Authorization failed. Could not find token, a03530ce84ab4384aca15d2ef8e5fa9d. from 127.0.0.1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:41:52 INFO [access] 127.0.0.1 - - [25/Oct/2013:22:41:52 +0000] "GET <a href="http://localhost:5000/v3/auth/tokens" target="_blank">http://localhost:5000/v3/auth/tokens</a> HTTP/1.0" 401 119<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2013-10-25 22:41:52 DEBUG [eventlet.wsgi.server] 10.1.5.157,127.0.0.1 - - [25/Oct/2013 22:41:52] "GET //v3/auth/tokens HTTP/1.1" 401 282 0.017426<u></u><u></u></span></p>
</div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div>-Dolph
</div>