Possible bug with joining cluster

anoniempje

Member
Jun 10, 2020
11
0
21
33
Hi!

I might have found a bug when having a new server join a active cluster.
All servers are on the same version 7.2-4
When i tried to join the existing cluster via SSH I ran the command "pmgcm join <IP>" but this failed. See below:

This first try failed because i forgot to allow the new servers IP in the allow policy for pmgproxy
Code:
root@pmg03:~# pmgcm join ip.ip.ip.ip
cluster join failed: 500 Can't connect to ip.ip.ip.ip:8006 (Connection reset by peer)

This second try just failed (and might be the bug¿?).
Code:
root@pmg03:~# pmgcm join ip.ip.ip.ip       
cluster join failed: 500 Can't connect to ip.ip.ip.ip:8006 (hostname verification failed)
root@pmg03:~#

When i tried to join the existing cluster via the webpage of the new server, it joined without any issues.
Could this be a bug?

p.s. It is fixed for me since i joined the cluster via the web interface.

Regards
 
did you try to use the command-output from `pmgcm join-cmd` run on the master-node for joining?
(this provides the certificate fingerprint, which is used instead of certificate-validation based on trusted CA-Certificates).