cpu_power_management_strategy=cpu_state failes if the host supports no governors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Balazs Gibizer |
Bug Description
The nova-compute service with libvirt driver fails to start with power management enabled with cpu_startegy if the host OS only support offlining CPUs but does not support any cpufreq governor.
The cpu_state strategy should not depend on any cpufreq governor so nova-compute should start.
[root@edpm-
/var/lib/
/var/lib/
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
2023-12-08 09:54:43.865 2 ERROR oslo_service.
[root@edpm-
ls: cannot access '/sys/devices/
[root@edpm-
ls: cannot access '/sys/devices/
[root@edpm-
total 0
drwxr-xr-x. 6 root root 0 Dec 8 10:01 cache
-r--------. 1 root root 4096 Dec 8 09:21 crash_notes
-r--------. 1 root root 4096 Dec 8 09:21 crash_notes_size
lrwxrwxrwx. 1 root root 0 Dec 8 09:21 driver -> ../../.
lrwxrwxrwx. 1 root root 0 Dec 8 09:21 firmware_node -> ../../.
drwxr-xr-x. 2 root root 0 Dec 8 09:21 hotplug
lrwxrwxrwx. 1 root root 0 Dec 8 09:21 node0 -> ../../node/node0
-rw-r--r--. 1 root root 4096 Dec 8 10:01 online
drwxr-xr-x. 2 root root 0 Dec 8 09:21 power
lrwxrwxrwx. 1 root root 0 Dec 8 09:21 subsystem -> ../../../../bus/cpu
drwxr-xr-x. 2 root root 0 Dec 8 10:01 topology
-rw-r--r--. 1 root root 4096 Dec 8 09:21 uevent
[root@edpm-
CentOS Stream release 9
NAME="CentOS Stream"
VERSION="9"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="9"
PLATFORM_
PRETTY_NAME="CentOS Stream 9"
ANSI_COLOR="0;31"
LOGO="fedora-
CPE_NAME=
HOME_URL="https:/
BUG_REPORT_URL="https:/
REDHAT_
REDHAT_
CentOS Stream release 9
CentOS Stream release 9
cpe:/o:
[root@edpm-
Linux edpm-compute-0 5.14.0-
tags: | added: libvirt |
Changed in nova: | |
importance: | Undecided → Medium |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
Fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /903169
Review: https:/