Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1761833

Summary: [RFE] Unified Limits Integration in Nova
Product: Red Hat OpenStack Reporter: smooney
Component: openstack-novaAssignee: melanie witt <mwitt>
Status: CLOSED DEFERRED QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: high Docs Contact:
Priority: medium    
Version: 17.0 (Wallaby)CC: alifshit, alink, apavlovs, bbowen, dasmith, dguthrie, egallen, eglynn, jhakimra, kchamart, moddi, mwitt, sbauza, sgordon, stephenfin, vromanso
Target Milestone: AlphaKeywords: FutureFeature, Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-nova-26.0.1-0.20221201075141.0ebcc5f.el9osttrunk Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-13 19:16:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version: Yoga
Embargoed:
Bug Depends On:    
Bug Blocks: 2127328    

Description smooney 2019-10-15 13:05:34 UTC
Description of problem:

Support for keystone unified limits in nova
for centralized quota and resource limits.

The work on unified limtis has been ongoing for several cycles.
https://review.opendev.org/#/c/602201/
to move that effort forword requires a multi cycle investment

While much work has been done to simplify how quotas are implemented in
Nova, there are still some major usability issues for operators with
the current system:

* We don't have consistent support for limit/quota hierarchy across OpenStack
* Requiring operators to set limits individually in each service
  (i.e. Cinder, Nova, Neutron, etc)
* Nova's existing quotas don't work well with Ironic
* No support for custom Resource Class quotas (includes "per flavor" quotas)
* Confusion when API defined quota limits override any changes made to the
  configuration
* Some Nova quotas are unrelated to resource consumption, causing confusion

Transitioning to use Keystone's unified limits, via oslo.limit, will help fix
these issues.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 smooney 2021-07-07 19:27:22 UTC
*** Bug 1979911 has been marked as a duplicate of this bug. ***

Comment 3 Sylvain Bauza 2021-07-28 16:12:42 UTC
*** Bug 1985105 has been marked as a duplicate of this bug. ***

Comment 4 Artom Lifshitz 2022-02-04 15:35:20 UTC
*** Bug 2033222 has been marked as a duplicate of this bug. ***

Comment 5 Artom Lifshitz 2022-02-04 15:45:54 UTC
QA: Since we closed BZ 2033222 as a duplicate of this, this is a reminder to make sure to specifically test GPU resources with unified limits.

Comment 6 melanie witt 2022-02-27 04:55:59 UTC
Upstream patches have merged.

Comment 10 Artom Lifshitz 2023-04-13 19:16:20 UTC
Tracked in https://issues.redhat.com/browse/OSPRH-70