Added more logging to the place where VR investigates whether the user vm is alive, by executing PingCommand

This commit is contained in:
Alena Prokharchyk 2013-06-19 10:53:15 -07:00
parent d5d0142ed4
commit 928d94265b

View File

@ -182,7 +182,8 @@ public class UserVmDomRInvestigator extends AbstractInvestigatorImpl {
Answer pingTestAnswer = _agentMgr.easySend(hostId, new PingTestCommand(routerPrivateIp, privateIp));
if (pingTestAnswer!=null && pingTestAnswer.getResult()) {
if (s_logger.isDebugEnabled()) {
s_logger.debug("user vm " + vm.getHostName() + " has been successfully pinged, returning that it is alive");
s_logger.debug("user vm's " + vm.getHostName() + " ip address "+ privateIp + " has been successfully pinged from the Virtual Router "
+ router.getHostName() + ", returning that vm is alive");
}
return Boolean.TRUE;
}