Quantum client ins't usable without Keystone
Bug #1162932 reported by
Nachi Ueno
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:
unknown auth strategy
Changed in python-neutronclient: | |
assignee: | nobody → Zhiqiang Fan (aji-zqfan) |
Changed in python-neutronclient: | |
assignee: | ZhiQiang Fan (aji-zqfan) → nobody |
To post a comment you must log in.
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().