Try using *$(tenant_id)s* instead of *%tenant_id%* On Tue, Mar 6, 2012 at 10:38 AM, Roman Sokolkov <[email protected]> wrote:
> Hi, folks! > > I use essex-4 packages for ubuntu. I ve added endpoint in keystone > > *keystone endpoint-create --region=nova > --service_id=264d572eaccc44f69b465a571983496f --publicurl= > http://127.0.0.1:8774/v2/%tenant_id% --internalurl= > http://127.0.0.1:8774/v2/%tenant_id% --adminurl= > http://127.0.0.1:35357/v2/%tenant_id%* > > and try to > > *nova list* > > keystone has a traceback. ends with > > File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line > 180, in __call__ > result = method(context, **params) > File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 294, > in authenticate > metadata=metadata_ref) > File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line > 34, in _wrapper > return f(*args, **kw) > File > "/usr/lib/python2.7/dist-packages/keystone/catalog/backends/sql.py", line > 163, in get_catalog > catalog[region][srv_type]['publicURL'] = public_url % d > ValueError: unsupported format character 't' (0x74) at index 27 > > if > > *keystone endpoint-create --region=nova > --service_id=264d572eaccc44f69b465a571983496f --publicurl= > http://127.0.0.1:8774/v2/ --internalurl=http://127.0.0.1:8774/v2/--adminurl= > http://127.0.0.1:35357/v2/* > > *nova list* > > > ERROR: n/a (HTTP 404) > -- > Regards, Roman Sokolkov > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

