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:
Kishan Kavala 2013-10-23 12:35:38 +05:30
parent 3e962f8d29
commit d61e60b71a
1 changed files with 0 additions and 6 deletions

View File

@ -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);