Merge "Add group resources for quota syncing"

This commit is contained in:
Zuul 2025-05-15 17:47:01 +00:00 committed by Gerrit Code Review
commit 0a0332fac1
2 changed files with 7 additions and 0 deletions

View File

@ -490,6 +490,7 @@ class QuotaCommands(object):
ctxt = context.get_admin_context()
# Get the quota usage types and their sync methods
resources = quota.QUOTAS.resources
resources.update(quota.GROUP_QUOTAS.resources)
# Get all project ids that have quota usage. Method doesn't lock
# projects, since newly added projects should not be out of sync and

View File

@ -0,0 +1,6 @@
---
fixes:
- |
`Bug #2107451 <https://bugs.launchpad.net/cinder/+bug/2107451>`_: Fixed
crash of `cinder-manage quota sync` if there is a row in the
quota_usage table with the value groups for column resource