mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 18:43:26 +01:00
Remove CLOUDSTACK-3513 debugging messages.
This commit is contained in:
parent
0fb3286cb1
commit
db8b9ea53a
@ -191,8 +191,9 @@ public class DefaultEndPointSelector implements EndPointSelector {
|
||||
// we can arbitrarily pick one ssvm to do that task
|
||||
List<HostVO> ssAHosts = listUpAndConnectingSecondaryStorageVmHost(dcId);
|
||||
if (ssAHosts == null || ssAHosts.isEmpty()) {
|
||||
s_logger.info("No running ssvm is found, so command will be sent to LocalHostEndPoint");
|
||||
return LocalHostEndpoint.getEndpoint(); // use local host as endpoint in
|
||||
// case of no ssvm existing
|
||||
// case of no ssvm existing
|
||||
}
|
||||
Collections.shuffle(ssAHosts);
|
||||
HostVO host = ssAHosts.get(0);
|
||||
|
||||
@ -337,26 +337,14 @@ public abstract class AgentAttache {
|
||||
checkAvailability(req.getCommands());
|
||||
|
||||
long seq = req.getSequence();
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("Request seq: " + seq);
|
||||
}
|
||||
|
||||
if (listener != null) {
|
||||
registerListener(seq, listener);
|
||||
} else if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug(log(seq, "Routed from " + req.getManagementServerId()));
|
||||
}
|
||||
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("waiting to send " + seq);
|
||||
}
|
||||
|
||||
synchronized(this) {
|
||||
try {
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("entering synchronize block for sending " + seq);
|
||||
}
|
||||
|
||||
if (isClosed()) {
|
||||
throw new AgentUnavailableException("The link to the agent has been closed", _id);
|
||||
}
|
||||
|
||||
@ -538,9 +538,7 @@ public class AgentManagerImpl extends ManagerBase implements AgentManager, Handl
|
||||
}
|
||||
Request req = new Request(hostId, _nodeId, cmds, commands.stopOnError(), true);
|
||||
req.setSequence(agent.getNextSequence());
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("AgentManager sending request");
|
||||
}
|
||||
|
||||
agent.send(req, listener);
|
||||
return req.getSequence();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user