Skip to content

Commit cd6d1a2

Browse files
KVM: return null state instead of Disconnected when investigate a host without NFS (#10515)
1 parent 1f0ffee commit cd6d1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hypervisors/kvm/src/main/java/com/cloud/ha/KVMInvestigator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public Status isAgentAlive(Host agent) {
9292
if (!storageSupportHA) {
9393
s_logger.warn(
9494
"Agent investigation was requested on host " + agent + ", but host does not support investigation because it has no NFS storage. Skipping investigation.");
95-
return Status.Disconnected;
95+
return null;
9696
}
9797

9898
Status hostStatus = null;

0 commit comments

Comments
 (0)