From 600315ce89ff6fc836aae2a1f872a85e253a5fa9 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Thu, 18 Jul 2024 19:04:30 +0200 Subject: [PATCH] Disable cpu power management by default We have multiple issue with power management so we disable it again. Related: https://issues.redhat.com/browse/OSPRH-8806 Related: https://issues.redhat.com/browse/OSPRH-8712 --- templates/nova.conf | 5 ++++- test/functional/novacell_controller_test.go | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/nova.conf b/templates/nova.conf index 15e071d1f..3f35a8d40 100644 --- a/templates/nova.conf +++ b/templates/nova.conf @@ -209,7 +209,10 @@ tx_queue_size=512 swtpm_enabled=True volume_use_multipath=true live_migration_uri = qemu+ssh://nova@%s/system?keyfile=/var/lib/nova/.ssh/ssh-privatekey -cpu_power_management=true +# We can only re-enable it when the following Jiras are fixed: +# https://issues.redhat.com/browse/OSPRH-8806 +# https://issues.redhat.com/browse/OSPRH-8712 +cpu_power_management=false {{end}} {{if (index . "cell_db_address")}} diff --git a/test/functional/novacell_controller_test.go b/test/functional/novacell_controller_test.go index 49b272e35..902dbf458 100644 --- a/test/functional/novacell_controller_test.go +++ b/test/functional/novacell_controller_test.go @@ -325,7 +325,7 @@ var _ = Describe("NovaCell controller", func() { Expect(configData).To( ContainSubstring( "live_migration_uri = qemu+ssh://nova@%s/system?keyfile=/var/lib/nova/.ssh/ssh-privatekey")) - Expect(configData).To(ContainSubstring("cpu_power_management=true")) + Expect(configData).To(ContainSubstring("cpu_power_management=false")) // The nova compute agent is expected to log to stdout. On edpm nodes this allows podman to // capture the logs and make them available via `podman logs` while also redirecting the logs // to the systemd journal. For openshift compute services, the logs are captured by the openshift