From 40b3ef36aa9e96e88434bb2aaee87c168796835b Mon Sep 17 00:00:00 2001
From: slavkap <51903378+slavkap@users.noreply.github.com>
Date: Tue, 7 Jul 2026 18:13:54 +0300
Subject: [PATCH] kvm: Disabled the setting
reboot.host.and.alert.management.on.heartbeat.timeout by default (#10111)
`reboot.host.and.alert.management.on.heartbeat.timeout` has to be
disabled. Even the high availability isn't enabled when there is an
issue with a storage CloudStack will reboot the host
---
agent/conf/agent.properties | 2 +-
.../main/java/com/cloud/agent/properties/AgentProperties.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/agent/conf/agent.properties b/agent/conf/agent.properties
index b48848a43fc..2d244e00eda 100644
--- a/agent/conf/agent.properties
+++ b/agent/conf/agent.properties
@@ -316,7 +316,7 @@ iscsi.session.cleanup.enabled=false
#vm.migrate.domain.retrieve.timeout=10
# This parameter specifies if the host must be rebooted when something goes wrong with the heartbeat.
-#reboot.host.and.alert.management.on.heartbeat.timeout=true
+#reboot.host.and.alert.management.on.heartbeat.timeout=false
# Enables manually setting CPU's topology on KVM's VM.
#enable.manually.setting.cpu.topology.on.kvm.vm=true
diff --git a/agent/src/main/java/com/cloud/agent/properties/AgentProperties.java b/agent/src/main/java/com/cloud/agent/properties/AgentProperties.java
index 9156af1c7d4..e2fe028453f 100644
--- a/agent/src/main/java/com/cloud/agent/properties/AgentProperties.java
+++ b/agent/src/main/java/com/cloud/agent/properties/AgentProperties.java
@@ -616,10 +616,10 @@ public class AgentProperties{
/**
* This parameter specifies if the host must be rebooted when something goes wrong with the heartbeat.
* Data type: Boolean.
- * Default value: true
+ * Default value: false
*/
public static final Property REBOOT_HOST_AND_ALERT_MANAGEMENT_ON_HEARTBEAT_TIMEOUT
- = new Property<>("reboot.host.and.alert.management.on.heartbeat.timeout", true);
+ = new Property<>("reboot.host.and.alert.management.on.heartbeat.timeout", false);
/**
* Enables manually setting CPU's topology on KVM's VM.