Quota shows warnings on backup creation

Bug #1952420 reported by Gorka Eguileor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Low
Gorka Eguileor

Bug Description

Logs show deprecation warning in the logs when creating backups.

Warnings are related to the "backups" and "backup_gigabytes" quota resources:

  Nov 26 10:03:32 localhost.localdomain <email address hidden>[390423]: WARNING cinder.quota [req-e3682860-e795-4db7-99ce-841b59479a2b req-673716ec-5706-43c2-bc02-ac95f6c1f18c admin admin] 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.

  Nov 26 10:03:32 localhost.localdomain <email address hidden>[390423]: WARNING cinder.quota [req-e3682860-e795-4db7-99ce-841b59479a2b req-673716ec-5706-43c2-bc02-ac95f6c1f18c admin admin] 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, unlike the other quota resources (``volumes``, ``gigabytes``, ``snapshots``, etc.) which have them because they are added by the database migration.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/819668

Changed in cinder:
status: New → In Progress
Changed in cinder:
importance: Undecided → Medium
tags: added: backup-service quota
Changed in cinder:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.