openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #17037
keystone install / user-role-list error
Hi,
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:
doc<http://docs.openstack.org/trunk/openstack-compute/install/apt/content/ch_installing-openstack-identity-service.html>
.
Everything seemed smooth until the end, when I tried to validate the
install with the curl command provided:
curl -d '{"auth": {"tenantName": "myTenant",
"passwordCredentials":{"username": "adminUser", "password":
"myPassword"}}}' -H "Content-type: application/json"
http://192.168.1.11:35357/v2.0/tokens | python -mjson.tool
Which gave a error 500: tenant, and a corresponding entry in keystone.log
of:
(root): 2012-09-28 23:45:50,651 ERROR u'tenant'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line
204, in __call__
result = method(context, **params)
File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 336, in
authenticate
metadata=metadata_ref)
File "/usr/lib/python2.7/dist-packages/keystone/catalog/core.py", line
78, in get_catalog
return self.driver.get_catalog(user_id, tenant_id, metadata)
File "/usr/lib/python2.7/dist-packages/keystone/catalog/backends/sql.py",
line 162, in get_catalog
catalog[region][srv_type]['publicURL'] = public_url % d
KeyError: u'tenant'
So I decided to poke around a bit and tried:
keystone --token <mytoken> --endpoint
http://192.168.1.11:35357/v2.0user-role-list
and get
'Client' object has no attribute 'auth_tenant_id'
Any idea what I've done wrong?
Thanks in advance.
Follow ups