cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] nvazquez commented on a change in pull request #2309: CLOUDSTACK-10132: Multiple Management Servers Support for agents
Date Thu, 01 Jan 1970 00:00:00 GMT
nvazquez commented on a change in pull request #2309: CLOUDSTACK-10132: Multiple Management
Servers Support for agents
URL: https://github.com/apache/cloudstack/pull/2309#discussion_r151170875
 
 

 ##########
 File path: agent/src/com/cloud/agent/Agent.java
 ##########
 @@ -265,6 +273,8 @@ public void start() {
                 s_logger.info("Attempted to connect to the server, but received an unexpected
exception, trying again...");
             }
         }
+        _shell.updateConnectedHost();
 
 Review comment:
   @rhtyd I decided to take that path as when agent is launched, the next host is set on constructor
and then from `start()` method we couldn't know which host the agent is trying to connect
to unless we do the same as in AgentShell with `hostToConnect` but on Agent class. Which approach
do you think it would be best?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message