even xenserverinvestigator returns true, that means host is up, but XAPI may not work

This commit is contained in:
Anthony Xu 2014-10-23 16:08:53 -07:00
parent 94969b0654
commit 32dc09f2c3
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ public class XenServerInvestigator extends AdapterBase implements Investigator {
s_logger.debug("Host " + neighbor + " couldn't determine the status of " + agent);
continue;
}
return ans.isAlive() ? Status.Up : Status.Down;
// even it returns true, that means host is up, but XAPI may not work
return ans.isAlive() ? null : Status.Down;
}
}