Cannot create VMs where their flavor has a cpu quota even when the kernel supports CPU controller
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Jorge San Emeterio |
Bug Description
Description
===========
Given a flavor enriched with the "quota:cpu_quota" property, creation of servers based on it will fail on system's running under cgroups v2, complaining that the CPU controller is unavailable even when the kernel does provide it.
Steps to reproduce
==================
1.- openstack flavor create flavor_cpu --id 101 --ram 2048 --disk 10 --vcpus 2
2.- openstack flavor set flavor_cpu --property hw:boot_menu='true' --property quota:cpu_
3.- openstack image create asb-qcow2 --disk-format qcow2 --container-format bare --file /tmp/cirros-
4.- openstack server create --flavor flavor_cpu --image asb-qcow2
5.- openstack server show vm-r9-qcow2
Expected result
===============
Server is built and active.
Actual result
=============
Error: "{'code': 500, 'created': '2022-08-
Environment
===========
Rocky Linux 9 or Ubuntu 22.04
DevStack
Changed in nova: | |
assignee: | nobody → Rajesh Tailor (ratailor) |
Bug is related to: https:/ /bugzilla. redhat. com/show_ bug.cgi? id=2118968