When no project id is specified, this fails with:
ERROR cinder sqlalchemy.exc.ArgumentError: Textual column
expression 'project_id' should be explicitly declared with
text('project_id'), or use column('project_id') for more specificity
Re-work the query to use column('project_id') to fix this.
This moves into the db layer so that cinder-manage doesn't need
to directly import sqlalchemy.
Closes-Bug: #2077643
Change-Id: I5ff068b01cce8a1ae8747b57b1785325c037cd68
7 lines
216 B
YAML
7 lines
216 B
YAML
---
|
|
fixes:
|
|
- |
|
|
`Bug #2077643 <https://bugs.launchpad.net/cinder/+bug/2077643>`_: Fixed
|
|
"cinder-manage quota sync" CLI command, which failed with an sqlalchemy
|
|
error when a project id was not specified.
|