It looks like at least one of your endpoints isn't being parsed correctly.<div><br></div><div>List your endpoints:</div><div><br></div><div>keystone --token <mytoken> --endpoint <a href="http://192.168.1.11:35357/v2.0" target="_blank">http://192.168.1.11:35357/v2.0</a> endpoint-list</div>
<div><br></div><div>... and make sure they all appear as expected (at least one public URL is wrong, according to the stack trace). Feel free to paste your endpoint list back on the mailing list if you have any trouble.</div>
<div><div><br></div>-Dolph<br>
<br><br><div class="gmail_quote">On Sat, Sep 29, 2012 at 12:06 AM, Asher Newcomer <span dir="ltr"><<a href="mailto:ashernew@gmail.com" target="_blank">ashernew@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>I'm sure I've made a simple error, but I'm momentarily stuck trying to work through a Folsom install on a fresh Ubuntu 12.04 box.  I've stepped through the process for installing the identity service described here: <a href="http://docs.openstack.org/trunk/openstack-compute/install/apt/content/ch_installing-openstack-identity-service.html" target="_blank">doc</a>. </div>

<div><br></div><div>Everything seemed smooth until the end, when I tried to validate the install with the curl command provided:</div><div><br></div><div>curl -d '{"auth": {"tenantName": "myTenant", "passwordCredentials":{"username": "adminUser", "password": "myPassword"}}}' -H "Content-type: application/json" <a href="http://192.168.1.11:35357/v2.0/tokens" target="_blank">http://192.168.1.11:35357/v2.0/tokens</a> | python -mjson.tool</div>

<div><br></div><div>Which gave a error 500: tenant, and a corresponding entry in keystone.log of:</div><div><br></div><div><div>(root): 2012-09-28 23:45:50,651 ERROR u'tenant'</div><div>Traceback (most recent call last):</div>

<div>  File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 204, in __call__</div><div>    result = method(context, **params)</div><div>  File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 336, in authenticate</div>

<div>    metadata=metadata_ref)</div><div>  File "/usr/lib/python2.7/dist-packages/keystone/catalog/core.py", line 78, in get_catalog</div><div>    return self.driver.get_catalog(user_id, tenant_id, metadata)</div>

<div>  File "/usr/lib/python2.7/dist-packages/keystone/catalog/backends/sql.py", line 162, in get_catalog</div><div>    catalog[region][srv_type]['publicURL'] = public_url % d</div><div>KeyError: u'tenant'</div>

</div><div><br></div><div>So I decided to poke around a bit and tried:</div><div><br></div><div>keystone --token <mytoken> --endpoint <a href="http://192.168.1.11:35357/v2.0" target="_blank">http://192.168.1.11:35357/v2.0</a> user-role-list</div>

<div><br></div><div>and get</div><div><br></div><div><div>'Client' object has no attribute 'auth_tenant_id'</div></div><div><br></div><div>Any idea what I've done wrong? </div><div><br></div><div>Thanks in advance.</div>

<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>