Bootable filter patch should use microversions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Sheel Rana |
Bug Description
We need better fix for bootable filter(refer https:/
So, this bug is created to support micro version of https:/
Refer below details for having insight of changes:
*Before fixing https:/
Cinder treats all values passed to it as True for bootable filter in volume GET call.
For ex, if bootable=invalid, it converts it into True being
bootable as boolean value in db table 'volume'.
*After fixing https:/
Filter functionality in cinder was updated to treat 'True' and 'False' values separately.
Existing behavior will be kept same.
Only True/False/
(But whatever input other than false/False/0 is passed for Boolean parameter, cinder converts it to True)
*After this microversion related fix*
Now only true/True/
All other input parameters will lead to raising exception.
This changes API behavior. So, kept under micro version.
Changed in cinder: | |
importance: | Undecided → High |
assignee: | nobody → Sheel Rana (ranasheel2000) |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/278605 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=0b6c68a8c12 17dea32f3d03d0c 3334c3b1168436
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0b6c68a8c1217de a32f3d03d0c3334 c3b1168436
Author: Sheel Rana <email address hidden>
Date: Tue Apr 5 23:56:55 2016 +0530
Microversion of Bootable filter in cinder list
Currently cinder treats all non zero values passed to it
as True for bootable filter in volume GET call.
For ex, if bootable=invalid, it converts it into True being
bootable as boolean value in db table 'volume'.
Need to update filtering functionality in cinder to address true/false/ 0/1 is passed in this filter.
'True' and 'False' values separately and raise exception if
anything than True/False/
But as this will change the API behavior, microversioning is done
for this fix.
Closes-Bug: #1551535
Change-Id: Idd57014c1504eb 4fc9ea0eabe894d 2000ea9c364