Comment 11 for bug 1522402

Revision history for this message
melanie witt (melwitt) wrote :

I've learned more about how novaclient works since my last comments. Novaclient works with keystone v3 as long as the keystoneauth session API is used (where keystoneclient library takes care of knowing the token request/response format, etc).

Instructions for that are here for the Python API:

http://docs.openstack.org/developer/python-novaclient/api.html#usage

Note that you must create a Session object and pass it to novaclient.Client(session=<session object>) when creating the novaclient object. If you don't, novaclient will fall back on its own code for keystone auth and will NOT work with keystone v3.

For the novaclient CLI, it will work with keystone v3 as long as you provide the additional keystone v3 specific arguments on the command line [1]. The patch in comment #10 provides defaults for two of the arguments so things can work in the absence of specifying the arguments on the command line, provided that "default" is okay for you. The patch is still on master and will be included in the next novaclient release.

[1] http://docs.openstack.org/developer/python-openstackclient/authentication.html#authenticating-using-identity-server-api-v3