Skip to content

Commit 79a5f78

Browse files
committed
Disabled the setting to reboot host
`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 a2f2e87 commit 79a5f78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

agent/conf/agent.properties

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

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

311311
# Enables manually setting CPU's topology on KVM's VM.
312312
#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
@@ -556,10 +556,10 @@ public class AgentProperties{
556556
/**
557557
* This parameter specifies if the host must be rebooted when something goes wrong with the heartbeat.<br>
558558
* Data type: Boolean.<br>
559-
* Default value: <code>true</code>
559+
* Default value: <code>false</code>
560560
*/
561561
public static final Property<Boolean> REBOOT_HOST_AND_ALERT_MANAGEMENT_ON_HEARTBEAT_TIMEOUT
562-
= new Property<>("reboot.host.and.alert.management.on.heartbeat.timeout", true);
562+
= new Property<>("reboot.host.and.alert.management.on.heartbeat.timeout", false);
563563

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

0 commit comments

Comments
 (0)