cinderclient having a problem with keystone v3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Medium
|
wangxiyuan |
Bug Description
Don't know if this is a bug or not......but cinderclient seems to be assuming the all keystone auth is v2. Here's the code I'm using:
cinder = client.
i = cinder.
Here's the tcp conversation, note the POST:
POST /v3/v2.0/tokens HTTP/1.1
Host: 10.210.23.12:5000
Content-Length: 100
Accept-Encoding: gzip, deflate
Accept: application/json
User-Agent: python-cinderclient
Connection: keep-alive
Content-Type: application/json
{"auth": {"passwordCrede
Date: Tue, 16 Feb 2016 19:41:02 GMT
Server: Apache
Vary: X-Auth-Token
x-openstack-
Content-Length: 93
Connection: close
Content-Type: application/json
{"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
Here's the command line output:
Traceback (most recent call last):
File "sessionTest.py", line 40, in <module>
sys.
File "sessionTest.py", line 27, in main
i = cinder.
File "/home/
return self._list(url, resource_type, limit=limit)
File "/home/
resp, body = self.api.
File "/home/
return self._cs_
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
allow_
File "/home/
raise exceptions.
cinderclient.
Changed in python-cinderclient: | |
assignee: | nobody → Saiteja Kondepudi (saiteja-kondepudi) |
Changed in python-cinderclient: | |
assignee: | Saiteja Kondepudi (saiteja-kondepudi) → nobody |
Changed in python-cinderclient: | |
assignee: | nobody → zwei (suifeng20) |
Changed in python-cinderclient: | |
status: | New → Confirmed |
Changed in python-cinderclient: | |
importance: | Undecided → Medium |
Changed in python-cinderclient: | |
assignee: | nobody → wangxiyuan (wangxiyuan) |
Changed in python-cinderclient: | |
status: | Confirmed → In Progress |
Unassigning due to no activity.