weizhouapache commented on pull request #4069: URL: https://github.com/apache/cloudstack/pull/4069#issuecomment-629764168
> When using addHost API, it fails to add host with: > > ``` > 2020-05-17 02:11:42,913 INFO [c.c.r.ResourceManagerImpl] (qtp1916575798-22:ctx-998dc1cb ctx-3489fe88) (logid:59229745) Trying to add a new host at http://192.168.1.11 in data center 1 > 2020-05-17 02:11:42,951 WARN [c.c.h.k.d.LibvirtServerDiscoverer] (qtp1916575798-22:ctx-998dc1cb ctx-3489fe88) (logid:59229745) can't setup agent, due to java.io.IOException: There was a problem while connecting to 192.168.1.11:22 - There was a problem while connecting to 192.168.1.11:22 > ``` > > @weizhouapache have you seen such an error (I tried to use both the zone deployment wizard and addHost API where this fails)? Could this be due to default ssh algorithms issue or our ssh utility class needing any change? Thanks. @rhtyd is the issue fixed with the new ssh config ? I was able to add Ubuntu 20.04 host in my testing env. Two issues need to mention: (1) there are some issues with ./python/lib/cloudutils/serviceConfig.py, please configure cloudbr0 or cloudbrX before adding the host. (2) I had problem when I created and configured a Ubuntu 20.04 vm on CentOS 7 host. so I created a Ubuntu 20.04 vm on a Ubuntu 16.04 host which works fine. ---------------------------------------------------------------- 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: us...@infra.apache.org