mirror of https://github.com/apache/cloudstack.git
add more logs
This commit is contained in:
parent
720ffc2d1f
commit
1ba2d1c8d5
|
|
@ -1483,6 +1483,7 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory, Manager {
|
|||
}
|
||||
Status status = h.getStatus();
|
||||
if (!status.equals(Status.Up) && !status.equals(Status.Connecting)) {
|
||||
s_logger.debug("Can not send command " + cmd + " due to Host " + hostId + " is not up");
|
||||
return null;
|
||||
}
|
||||
final Answer answer = send(hostId, cmd);
|
||||
|
|
|
|||
Loading…
Reference in New Issue