cinder/releasenotes/notes/bug-2027532-volume-list-sort-by-boolean-fix-49972c69007d5ebc.yaml
Eric Harney 6d60a6b1ae Coerce booleans to integer values in paginate_query
(Grabbed from oslo.db's I4b90f1873 which fixes the same
issue.)

This fixes a failed request when a volume listing is requested
with sorting by bootable:asc and with a marker id specified.

It looks like we are due to replace our paginate_query() method
with the one from oslo.db, as noted in the comments above
the method.

Closes-Bug: #2027532
Change-Id: Idf75e9cc8be6d9f0be320f8109e45b9b9f93dacf
2024-01-25 11:12:41 -05:00

7 lines
198 B
YAML

---
fixes:
- |
`Bug #2027532 <https://bugs.launchpad.net/cinder/+bug/2027532>`_:
Fixed Cinder API HTTP 500 when issuing a volume list and sorting by a
boolean field (i.e. "bootable").