Merge "Add group resources for quota syncing"
This commit is contained in:
commit
0a0332fac1
@ -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
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user