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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_cluster.py | ||
test_default_types.py | ||
test_migration.py | ||
test_migrations.py | ||
test_name_id.py | ||
test_orm_relationships.py | ||
test_purge.py | ||
test_qos_specs.py | ||
test_reset_backend.py | ||
test_transfers.py | ||
test_volume_type.py |