Thanks for the link Rafael.
I tried all alternatives suggested on the link but still no luck. I tried switching between sql vs templated backends. One thing on the link which mentioned to try out with usr/pass worked but for me too. But it shows empty service list,
root@openstack-api:~# keystone --os_username=admin --os_password=openstack123 --os_auth_url=http://10.43.45.13:35357/v2.0/ --os_tenant_id=3a28a12e35d64e79a121d8defccd6e2a service-list
+----+------+------+-------------+
| id | name | type | description |
+----+------+------+-------------+
+----+------+------+-------------+
I tried to unset SERVICE_ENDPOINT and SERVICE_TOKEN but that didn't help. Also ni this unsetting case, it gives different error,
root@openstack-api:~# unset SERVICE_ENDPOINT SERVICE_TOKEN
root@openstack-api:~# keystone --os_username=admin --os_password=openstack123 --os_auth_url=http://10.43.45.13:35357/v2.0/ --os_tenant_id=3a28a12e35d64e79a121d8defccd6e2a catalog --service ec2
No handlers could be found for logger "keystoneclient.client"
Authorization Failed: An unexpected error prevented the server from fulfilling your request. unsupported format character 'S' (0x53) at index 8 (HTTP 500)
for this context keystone.log shows these exceptions,
(root): 2012-05-08 18:55:29,271 ERROR unsupported format character 'S' (0x53) at index 8
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 184, in __call__
result = method(context, **params)
File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 292, in authenticate
metadata=metadata_ref)
File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line 48, in _wrapper
return f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/keystone/catalog/backends/templated.py", line 116, in get_catalog
o[region][service][k] = v % d
ValueError: unsupported format character 'S' (0x53) at index 8
I'm new to keystone so might be missing something obvious. Thanks a ton in advance.
Thanks for the link Rafael.
I tried all alternatives suggested on the link but still no luck. I tried switching between sql vs templated backends. One thing on the link which mentioned to try out with usr/pass worked but for me too. But it shows empty service list,
root@openstack- api:~# keystone --os_username=admin --os_password= openstack123 --os_auth_url=http:// 10.43.45. 13:35357/ v2.0/ --os_tenant_ id=3a28a12e35d6 4e79a121d8defcc d6e2a service-list -----+- -----+- ------- -----+ -----+- -----+- ------- -----+ -----+- -----+- ------- -----+
+----+-
| id | name | type | description |
+----+-
+----+-
I tried to unset SERVICE_ENDPOINT and SERVICE_TOKEN but that didn't help. Also ni this unsetting case, it gives different error,
root@openstack- api:~# unset SERVICE_ENDPOINT SERVICE_TOKEN api:~# keystone --os_username=admin --os_password= openstack123 --os_auth_url=http:// 10.43.45. 13:35357/ v2.0/ --os_tenant_ id=3a28a12e35d6 4e79a121d8defcc d6e2a catalog --service ec2 .client"
root@openstack-
No handlers could be found for logger "keystoneclient
Authorization Failed: An unexpected error prevented the server from fulfilling your request. unsupported format character 'S' (0x53) at index 8 (HTTP 500)
for this context keystone.log shows these exceptions,
(root): 2012-05-08 18:55:29,271 ERROR unsupported format character 'S' (0x53) at index 8 python2. 7/dist- packages/ keystone/ common/ wsgi.py" , line 184, in __call__ python2. 7/dist- packages/ keystone/ service. py", line 292, in authenticate metadata_ ref) python2. 7/dist- packages/ keystone/ common/ manager. py", line 48, in _wrapper python2. 7/dist- packages/ keystone/ catalog/ backends/ templated. py", line 116, in get_catalog [service] [k] = v % d
Traceback (most recent call last):
File "/usr/lib/
result = method(context, **params)
File "/usr/lib/
metadata=
File "/usr/lib/
return f(*args, **kw)
File "/usr/lib/
o[region]
ValueError: unsupported format character 'S' (0x53) at index 8
I'm new to keystone so might be missing something obvious. Thanks a ton in advance.