You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/03/09 11:22:15 UTC

[GitHub] [cloudstack] rvalle commented on issue #3909: Cannot Add Host, wrong manager IP passed

rvalle commented on issue #3909: Cannot Add Host, wrong manager IP passed
URL: https://github.com/apache/cloudstack/issues/3909#issuecomment-596469266
 
 
   Hi @DaanHoogland 
   
   After having properly configuring the **host** and **management.network.cidr** I don't get Cloudstack Manager to start.
   
   I am getting the following exceptions when I restart after the changes
   
   ```
   2020-03-09 10:50:03,280 INFO  [c.c.c.ClusterManagerImpl] (main:null) (logid:) Start configuring cluster manager : ClusterManagerImpl
   2020-03-09 10:50:03,280 INFO  [c.c.c.ClusterManagerImpl] (main:null) (logid:) Cluster node IP : 10.71.0.254
   2020-03-09 10:50:03,297 INFO  [c.c.c.ClusterManagerImpl] (main:null) (logid:) Trying to connect to 10.71.0.254
   2020-03-09 10:52:10,555 ERROR [c.c.c.ClusterManagerImpl] (main:null) (logid:) Unable to ping management server at 10.71.0.254:9090 due to ConnectException
   java.net.ConnectException: Connection timed out
           at sun.nio.ch.Net.connect0(Native Method)
           at sun.nio.ch.Net.connect(Net.java:454)
           at sun.nio.ch.Net.connect(Net.java:446)
           at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:645)
           at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1140)
           at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1109)
           at com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1187)
   ....
           at org.apache.cloudstack.ServerDaemon.start(ServerDaemon.java:186)
           at org.apache.cloudstack.ServerDaemon.main(ServerDaemon.java:103)
   2020-03-09 10:52:10,565 INFO  [c.c.c.ClusterManagerImpl] (main:null) (logid:) Detected that another management node with the same IP 10.71.0.254 is considered as running in DB, however it is not pingable, we will continue cluster initialization with this management server node
   2020-03-09 10:52:10,565 INFO  [c.c.c.ClusterManagerImpl] (main:null) (logid:) Cluster manager is configured.
   ```
   There seem to be some kind of confusion I think the manager is trying to connect to itself before has finished the startup process.
   
   But then it mentions  "another manager".
   
   Any idea what could be going wrong?
   
   Perhaps, in the install process, I should say which is the actual manager IP.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services