I am trying to use the Python Keystone client to integration
authentication functionality into a project I am contributing to
However, I ran into a situation where if I do the following:

>>> c = keystoneclient.v2_0.client.Client(username='username',
Failed to retrieve management_url from token

I traced it through the Python Keystoneclient code and it fails due to
not finding the "identity" service entry in the Service Catalog. The
authentication otherwise happens in that it has already received a
"successful" response and a full Service Catalog, aside from the
"missing" identity service. This happens with both version 0.10 and 0.11
python keystone clients; I did not try older clients.

Talking with the service provider, their version does not include itself
in the Service Catalog, and they learned the Keystone itself inserts
itself into the Service Catalog.
I can certainly understand why it having the identity service entry be
part of the Service Catalog, but for them it is (at least for now) not
desirable to do so.

- Is it now a standard that Keystone inserts itself into the Service
- Or is the Python Keystone Client broken because it is forcing it to be so?


Benjamen R. Meyer

OpenStack-dev mailing list

Reply via email to