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' and 'False' values separately and raise exception if
anything than True/False/true/false/0/1 is passed in this filter.
But as this will change the API behavior, microversioning is done
for this fix.
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