rvalle commented on issue #3909: Cannot Add Host, wrong manager IP passed URL: https://github.com/apache/cloudstack/issues/3909#issuecomment-596520953 @DaanHoogland Yes, I saw it. I actually think that the admin web showed 2 entries for management server even before changing the IP. Note that I am writing an ansible playbook to install a cloudstack cluster, so, I re-create the whole thing again and again from the scratch. I don't know who gets to decide how many management servers are there or which one is "me" in the setup process, but seems to get confused by my network setup, as I have several network adapters. I am assuming that the table **mshost** is management servers, and I can see only one entry there: ``` mysql> select id,msid,service_ip,service_port,state from mshost; +----+-----------------+-------------+--------------+-------+ | id | msid | service_ip | service_port | state | +----+-----------------+-------------+--------------+-------+ | 1 | 209984346422944 | 10.71.0.254 | 9090 | Up | +----+-----------------+-------------+--------------+-------+ 1 row in set (0.00 sec) ``` for some reason the management server thinks that that is not "me". perhaps after modifying the host ip in global config the management server does not shutdown properly when restarting the service. The state should definitely not be UP. Also, is 9090 the right port? I access the management server on the default 8080 port. Another question is whether it is possible to launch the setup process in a way that the right IP is chosen as management server, but I cannot see how is that IP selected. After reading the installation guide I would have thought that this: ``` [root@manager ~]# ping $(hostname --fqdn) PING manager.mgmt_net (10.71.0.254) 56(84) bytes of data. 64 bytes from manager.mgmt_net (10.71.0.254): icmp_seq=1 ttl=64 time=0.046 ms 64 bytes from manager.mgmt_net (10.71.0.254): icmp_seq=2 ttl=64 time=0.112 ms ``` would be enough for the setup to select the right IP for the manager, but perhaps it is not. Any ideas?
---------------------------------------------------------------- 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
