Quantum client ins't usable without Keystone

Bug #1162932 reported by Nachi Ueno
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-neutronclient
Expired
Low
Unassigned

Bug Description

quantum client has -os-auth-strategy, and we can set is as any value
However current supports only keystone mode, so we can't use quantum client without keystone

localhost:nachiueno% quantum --os-auth-strategy=noauth net-list
unknown auth strategy

Revision history for this message
Akihiro Motoki (amotoki) wrote :

Doesn't the following command line work?
We need to specify a dummy auth_token when noauth is used. I agree it is a little bit tricky.

quantum --verbose --os-url=http://10.56.51.252:9696/v2.0 --os-token=admin --os-auth-strategy=noauth net-list

In addition, authenticate() in client.py is always called if Unauthorized is returned in do_request() and authenticate() is expected keystone auth. I think it is better to add a check for noauth to authenticate().

Changed in python-quantumclient:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Satoshi Kobayashi (satoshi-k) wrote :

I also had this issue and It works well by the method of the reply. Thanks!
IMHO, this is rather a problem with an unkind message.
When only in "os-auth-strategy=noauth", if the command suggests that "--os-token" is required, it is kinder.

ZhiQiang Fan (aji-zqfan)
Changed in python-neutronclient:
assignee: nobody → Zhiqiang Fan (aji-zqfan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/39280

Changed in python-neutronclient:
status: Confirmed → In Progress
ZhiQiang Fan (aji-zqfan)
Changed in python-neutronclient:
assignee: ZhiQiang Fan (aji-zqfan) → nobody
Revision history for this message
Akihiro Motoki (amotoki) wrote :

no activity in more than 2 years. Mark it incomplete.

Changed in python-neutronclient:
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-neutronclient because there has been no activity for 60 days.]

Changed in python-neutronclient:
status: Incomplete → Expired
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.