This is an automated email from the ASF dual-hosted git repository.
weizhouapache pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 40b3ef36aa9 kvm: Disabled the setting
reboot.host.and.alert.management.on.heartbeat.timeout by default (#10111)
40b3ef36aa9 is described below
commit 40b3ef36aa9e96e88434bb2aaee87c168796835b
Author: slavkap <[email protected]>
AuthorDate: Tue Jul 7 18:13:54 2026 +0300
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 +-
agent/src/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.<br>
* Data type: Boolean.<br>
- * Default value: <code>true</code>
+ * Default value: <code>false</code>
*/
public static final Property<Boolean>
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. <br>