6a2716de16
Logs show deprecation warning in the logs when creating backups. Warnings are related to the "backups" and "backup_gigabytes" quota resources: Deprecated: Default quota for resource: backups is set by the default quota flag: quota_backups, it is now deprecated. Please use the default quota class for default quota. Deprecated: Default quota for resource: backup_gigabytes is set by the default quota flag: quota_backup_gigabytes, it is now deprecated. Please use the default quota class for default quota. This warning is shown because the ``quota_classes`` table doesn't have entries for these 2 resources for the "default" quota class. This patch adds a database migration to create the ``backups`` and ``backup_gigabytes`` entries in the ``quota_classes`` table like we have for the other standard resources, such as ``volumes``, ``gigabytes``, etc. Closes-Bug: #1952420 Change-Id: I2a83e9b23f40a8ef4a734b456e4b7afb1ad65f94
7 lines
182 B
YAML
7 lines
182 B
YAML
---
|
|
fixes:
|
|
- |
|
|
`Bug #1952420 <https://bugs.launchpad.net/cinder/+bug/1952420>`_: Fixed
|
|
quota warnings about ``backups`` and ``backup_gigabytes`` when creating
|
|
backups.
|