sureshanaparti commented on code in PR #12571:
URL: https://github.com/apache/cloudstack/pull/12571#discussion_r2793044402
##########
engine/orchestration/src/main/java/com/cloud/agent/manager/AgentManagerImpl.java:
##########
@@ -2093,6 +2093,24 @@ public void propagateChangeToAgents(Map<String, String>
params) {
}
}
+ @Override
+ public int getHostSshPort(HostVO host) {
+ if (host == null) {
+ return KVMHostDiscoverySshPort.value();
+ }
+
+ _hostDao.loadDetails(host);
+ String hostPort = host.getDetail(Host.HOST_SSH_POST);
+ int sshPort;
+ if (StringUtils.isBlank(hostPort)) {
+ sshPort = KVMHostDiscoverySshPort.valueIn(host.getClusterId());
Review Comment:
yes @nvazquez, when cluster config is not set, it picks from global (which
is defaulted to 22).
--
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]