Config option to control behavior of unset unified limits

Registered by melanie witt

The default behavior in the oslo.limit quota enforcement library used by Nova
when ``[quota]driver`` is set to ``nova.quota.UnifiedLimitsDriver`` is to
consider resources that do not have registered limits set as having a limit of
zero. This behavior can be unforgiving especially in the scenario of an
upgrade that enables unified limits quota (i.e. if we ever want to make unified
limits the default). If we make the behavior configurable within Nova, we can
help prevent situations where an admin/operator upgrades or installs Nova and
suddenly all API requests begin to be rejected for being over quota.

Blueprint information

Status:
Complete
Approver:
Sylvain Bauza
Priority:
Undefined
Drafter:
melanie witt
Direction:
Approved
Assignee:
melanie witt
Definition:
Approved
Series goal:
Accepted for 2025.1
Implementation:
Implemented
Milestone target:
None
Started by
Sylvain Bauza
Completed by
Sylvain Bauza

Related branches

Sprints

Whiteboard

Addressed by: https://review.opendev.org/c/openstack/nova/+/924025
    Add config option [quota]strict_unified_limits

Gerrit topic: https://review.opendev.org/#/q/topic:bp/unified-limits-nova-unset-limits

Addressed by: https://review.opendev.org/c/openstack/nova/+/924110
    nova-manage: Add flavor scanning to migrate_to_unified_limits

[20240717 bauzas] Spec approved for the Dalmatian release

Gerrit topic: https://review.opendev.org/#/q/topic:unified-limits-nova-unset-limits

Addressed by: https://review.opendev.org/c/openstack/nova-specs/+/934391
    Re-propose config option for behavior of unset unified limits

[20250106 bauzas] Spec was reapproved for Epoxy

Gerrit topic: https://review.opendev.org/#/q/topic:prettytable-dep

Addressed by: https://review.opendev.org/c/openstack/nova/+/939157
    Bump requirement to PrettyTable>=2.4.0

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.