Skip to content

Commit

Permalink
Disable cpu power management by default
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gibizer committed Jul 22, 2024
1 parent 9543a36 commit 600315c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion templates/nova.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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")}}
Expand Down
2 changes: 1 addition & 1 deletion test/functional/novacell_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 600315c

Please sign in to comment.