need to fix noauth option for Client calls from python

Bug #1685390 reported by John Griffith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Invalid
Undecided
Unassigned

Bug Description

So noauth is working great when using the shell, the problem is that if you try and use if from the Client bindings directly we don't have a place to set the v1 NoAuth session up during client init.

I think we can put a call to: loading.load_auth_from_argparse_arguments in the clients init based on the args passed in to init. So, maybe build a "self.options" from the args in __init__ and build the auth_plugin and session using that if/when noauth is set?

Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

John, is it still actual bug? Here is example how to get it working [1].

[1] https://gist.github.com/e0ne/bf04d763e222a22976c8745dd28970da

Changed in python-cinderclient:
status: New → Incomplete
Revision history for this message
John Griffith (john-griffith) wrote :

Yep, Operator Error!! Thanks Ivan!!

Changed in python-cinderclient:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.