API version validation error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Undecided
|
Jay Bryant |
Bug Description
The cinder endpoint is as below –
https:/
In the module cinderclient.
def get_volume_
magic_tuple = urlparse.
scheme, netloc, path, query, frag = magic_tuple
----> v = path.split("/")[1] <------
if v not in valid_versions:
msg = "Invalid client version '%s'. must be one of: %s" % (
raise exceptions.
return v[1:]
The above method splits the “path” section of publicURL (/rest/volume/v1…) and picks the value at index 1.
However, in the cinder endpoint(https:/
This issue was reported (https:/
description: | updated |
Changed in python-cinderclient: | |
assignee: | nobody → Jenny Shieh (jenny-shieh) |
Changed in python-cinderclient: | |
assignee: | Jenny Shieh (jenny-shieh) → Jay Bryant (jsbryant) |
tags: | added: havana-rc-potential |
tags: | removed: havana-rc-potential |
Changed in python-cinderclient: | |
milestone: | none → 1.3.1 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/47624
Review: https:/