cinderclient does not support noauth
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Undecided
|
Ivan Kolodyazhny |
Bug Description
While implementing support for Ironic to communicate with cinder, I noticed that python-cinderclient does not appear to support noauth mode for the client. The client presently expects authentication parameters on the command line, such as username, password, tenant, auth_url, even if auth_system and auth_plugin are set to something that is not keystone related.
This logic does not appear to be overridable via providing a proxy_token or bypass_url to the client on the CLI as the library attempts to then obtain a auth_url from the plugin, disregarding one defined on the command line, which has no override mechanism.
https:/
A compromise may be to allow the auth parameter to be passed through to the client, which would allow a caller to explicitly state the endpoint to be returned. See the admin_token keystoneath1 plugin. The CLI would not be usable for noauth, but the library could then be used programatically.
https:/
Alternatively, the bypass_url option could be used to populate the data if something like admin_token is defined as the auth_plugin.
description: | updated |
Changed in python-cinderclient: | |
assignee: | nobody → Ivan Kolodyazhny (e0ne) |
Changed in python-cinderclient: | |
status: | New → Confirmed |
Fix proposed to branch: master /review. openstack. org/425277
Review: https:/