micro version not able to handle V3.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Low
|
Unassigned |
Bug Description
Seems some issue in cinder/
If we pass ("3.1", None), some sample debug prints:
ver_major= 1
ver_minor= 0
ver_major= 2
ver_minor= 0
ver_major= 3
ver_minor= 0
Request parameters:
GET /v3/fake/volumes HTTP/1.0
Openstack-
versionString=3.1
major_Version extracted=3
minor_Version extracted=1
API Version Request Major: 3, Minor: 1
How to reproduce:
Step 1: update Max_Version field in "cinder/
_MIN_API_VERSION = "3.0"
_MAX_API_VERSION = "3.1"
Step 2: Run below test case to check latest version:
class V3TestCase(
def setUp(self):
@mock.
def test_check_
print("Test Start")
volume_api = cinder.
req = fakes.HTTPReque
req.method = 'GET'
req.headers = {version_
response = self.controller
tox -epy27 -- --no-discover cinder.
Changed in cinder: | |
importance: | Undecided → High |
description: | updated |
Changed in cinder: | |
importance: | High → Low |
status: | New → Invalid |