cinder/releasenotes/notes/bug-2077643-manage-quota-sync-no-args-7fe8dbc6e3069cfc.yaml
Eric Harney 82be2371fc Fix "cinder-manage quota check"
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
2024-08-27 10:59:15 -04:00

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.