Skip to content

Commit 928d942

Browse files
author
Alena Prokharchyk
committed
Added more logging to the place where VR investigates whether the user vm is alive, by executing PingCommand
1 parent d5d0142 commit 928d942

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

server/src/com/cloud/ha/UserVmDomRInvestigator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ private Boolean testUserVM(VMInstanceVO vm, Nic nic, VirtualRouter router) {
182182
Answer pingTestAnswer = _agentMgr.easySend(hostId, new PingTestCommand(routerPrivateIp, privateIp));
183183
if (pingTestAnswer!=null && pingTestAnswer.getResult()) {
184184
if (s_logger.isDebugEnabled()) {
185-
s_logger.debug("user vm " + vm.getHostName() + " has been successfully pinged, returning that it is alive");
185+
s_logger.debug("user vm's " + vm.getHostName() + " ip address "+ privateIp + " has been successfully pinged from the Virtual Router "
186+
+ router.getHostName() + ", returning that vm is alive");
186187
}
187188
return Boolean.TRUE;
188189
}

0 commit comments

Comments
 (0)