V3Password as plugin auth doesn't work with kesytonemiddleware
Bug #1423316 reported by
Haneef Ali
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Invalid
|
Undecided
|
Haneef Ali |
Bug Description
My Configuration
[keystone_
identity_uri = http://
auth_section = v3password
[v3password]
auth_plugin = v3password
identity_uri = http://
user-name = nova
user-domain-id = default
project-name = service
project-domain-id = default
password = DontTellAnyOne
Please have a look at this line
https:/
kwargs is never passed to the load pluggin, so it can't initialize.
Also even if we pass kwargs, not sure how it will work since all the arguments are not kwargs
Changed in python-keystoneclient: | |
status: | New → Incomplete |
assignee: | nobody → Haneef Ali (haneef) |
To post a comment you must log in.
So when defining options in a config file you need to use _ not -. AFAIK - is not a legal symbol in a config file.
Also the identity_uri in this case would need to have the /v3 url. The v2 and v3password plugins must point to the /v2.0 or /v3 endpoints. If you want to use the root url then you should use the straight password plugin.
In the line you point to regarding not passing kwargs, that is correct. At the moment you can only load plugins from the CONF object. We had expected this to allow us to deprecate passing options from paste, or instantiating AuthPlugin directly, this is unfortunately not going to happen, so we are looking into ways of being able to use plugins without using the CONF object.