Comment 2 for bug 1315963

Revision history for this message
xyj (xyj-asmy) wrote :

I use the lastest cinderclient(I build a new devstack yesterday~).

I read the patch you mentioned, but it only hanlded service_catag format difference between v2 and v3 token.At the moment, cinderclient can't auth directly with keystone v3's auth api, see

https://github.com/openstack/python-cinderclient/blob/master/cinderclient/client.py#L289

Before cinderclient, novaclient, neutronclient can request a v3 token from keystone directly, we should get token in openstackclient(the current code work perfectly!), then pass token and target endpoint on xxxclient. This can avoid xxxclient to auth again in their own code logic.

Just like:

https://github.com/openstack/python-openstackclient/blob/master/openstackclient/compute/client.py#L65