libvirt / cgroups v2: cannot boot instance with more than 16 CPUs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Unassigned | ||
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned | ||
Yoga |
Fix Released
|
High
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned |
Bug Description
Description
===========
Using the libvirt driver and a host OS that uses cgroups v2 (RHEL 9, Ubuntu Jammy), an instance with more than 16 CPUs cannot be booted.
Steps to reproduce
==================
1. Boot an instance with 10 (or more) CPUs on RHEL 9 or Ubuntu Jammy using Nova with the libvirt driver.
Expected result
===============
Instance boots.
Actual result
=============
Instance fails to boot with a 'Value specified in CPUWeight is out of range' error.
Environment
===========
Originially report as a libvirt but in RHEL 9 [1]
Additional information
=======
This is happening because Nova defaults to 1024 * (# of CPUs) for the value of domain/
[1] https:/
=======
Ubuntu SRU Details:
[Impact]
See above.
[Test Case]
See above.
[Regression Potential]
We've had this change in other jammy-based versions of the nova package for a while now, including zed, antelope, bobcat.
CVE References
Changed in nova: | |
status: | New → In Progress |
Changed in nova (Ubuntu Jammy): | |
status: | New → Triaged |
description: | updated |
tags: |
added: verification-done-jammy removed: verification-needed-jammy |
tags: |
added: verification-done removed: verification-needed |
Related trackers: /bugzilla. redhat. com/show_ bug.cgi? id=2037998 /gitlab. com/libvirt/ libvirt/ -/issues/ 324
https:/
https:/