[Openstack] nova endpoint in keystone

Dolph Mathews dolph.mathews at gmail.com
Tue Mar 6 16:53:57 UTC 2012


Try using *$(tenant_id)s* instead of *%tenant_id%*

On Tue, Mar 6, 2012 at 10:38 AM, Roman Sokolkov <rsokolkov at gmail.com> 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     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120306/b63c2272/attachment.html>


More information about the Openstack mailing list