mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4915, CLOUDSTACK-4933 : Revert "CLOUDSTACK-4911 - [Mixed Hypervisor] VM Status is marked as alive when exit status of ping command is not available within command timeout"
This reverts commit b6a13d1257.
This commit is contained in:
parent
3e962f8d29
commit
d61e60b71a
|
|
@ -185,12 +185,6 @@ public class SshHelper {
|
|||
}
|
||||
|
||||
String result = sbResult.toString();
|
||||
|
||||
if (sess.getExitStatus() == null) {
|
||||
//Exit status is NOT available. Returning failure result.
|
||||
return new Pair<Boolean, String>(false, result);
|
||||
}
|
||||
|
||||
if (sess.getExitStatus() != null && sess.getExitStatus().intValue() != 0) {
|
||||
s_logger.error("SSH execution of command " + command + " has an error status code in return. result output: " + result);
|
||||
return new Pair<Boolean, String>(false, result);
|
||||
|
|
|
|||
Loading…
Reference in New Issue