nvazquez commented on a change in pull request #5960:
URL: https://github.com/apache/cloudstack/pull/5960#discussion_r804320769



##########
File path: 
engine/orchestration/src/main/java/com/cloud/agent/manager/AgentManagerImpl.java
##########
@@ -342,10 +342,11 @@ public Answer sendTo(final Long dcId, final 
HypervisorType type, final Command c
                 }
                 Answer answer = null;
                 try {
-
-                    final long targetHostId = 
_hvGuruMgr.getGuruProcessedCommandTargetHost(host.getId(), cmd);
+                    final long targetHostId = 
_hvGuruMgr.getGuruProcessedCommandTargetHost(host.getId(), cmd, 
host.getHypervisorType());
                     answer = easySend(targetHostId, cmd);
                 } catch (final Exception e) {
+                    s_logger.error("Error sending command " + 
cmd.getClass().getName() + " to host: " +
+                            host.getUuid(), e);

Review comment:
       Done, thanks




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to