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.
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/819668 /opendev. org/openstack/ cinder/ commit/ 6a2716de161a114 3b56c92bf1cc672 c34573233a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 6a2716de161a114 3b56c92bf1cc672 c34573233a
Author: Gorka Eguileor <email address hidden>
Date: Wed Nov 10 12:42:44 2021 +0100
Quota: Add backup related default limits
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 gigabytes, it is now deprecated.
default quota flag: quota_backup_
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 gigabytes` ` entries in the ``quota_classes`` table like we have
``backup_
for the other standard resources, such as ``volumes``, ``gigabytes``,
etc.
Closes-Bug: #1952420 ef4a734b456e4b7 afb1ad65f94
Change-Id: I2a83e9b23f40a8