Skip to content

Commit 40b3ef3

Browse files
authored
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
1 parent f9a9451 commit 40b3ef3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

agent/conf/agent.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ iscsi.session.cleanup.enabled=false
316316
#vm.migrate.domain.retrieve.timeout=10
317317

318318
# This parameter specifies if the host must be rebooted when something goes wrong with the heartbeat.
319-
#reboot.host.and.alert.management.on.heartbeat.timeout=true
319+
#reboot.host.and.alert.management.on.heartbeat.timeout=false
320320

321321
# Enables manually setting CPU's topology on KVM's VM.
322322
#enable.manually.setting.cpu.topology.on.kvm.vm=true

agent/src/main/java/com/cloud/agent/properties/AgentProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,10 +616,10 @@ public class AgentProperties{
616616
/**
617617
* This parameter specifies if the host must be rebooted when something goes wrong with the heartbeat.<br>
618618
* Data type: Boolean.<br>
619-
* Default value: <code>true</code>
619+
* Default value: <code>false</code>
620620
*/
621621
public static final Property<Boolean> REBOOT_HOST_AND_ALERT_MANAGEMENT_ON_HEARTBEAT_TIMEOUT
622-
= new Property<>("reboot.host.and.alert.management.on.heartbeat.timeout", true);
622+
= new Property<>("reboot.host.and.alert.management.on.heartbeat.timeout", false);
623623

624624
/**
625625
* Enables manually setting CPU's topology on KVM's VM. <br>

0 commit comments

Comments
 (0)