nvazquez commented on a change in pull request #3239: KVM: Fix agents dont
reconnect post maintenance
URL: https://github.com/apache/cloudstack/pull/3239#discussion_r269582813
##########
File path: agent/src/com/cloud/agent/Agent.java
##########
@@ -606,9 +606,8 @@ protected void processRequest(final Request request, final
Link link) {
System.exit(1);
return;
} else if (cmd instanceof MaintainCommand) {
- s_logger.debug("Received maintainCommand");
- cancelTasks();
- _reconnectAllowed = false;
+ s_logger.debug("Received maintainCommand, do not
cancel current tasks");
+ _reconnectAllowed = true;
Review comment:
Removed
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services