Sync error on Cluster node

Falconbase

Member
May 16, 2019
14
1
23
43
Hi all,

i have a PMG-Node the have after a crash syncing error, but works fine:

daemon.log:
Aug 21 11:02:45 mx-in-01 pmgmirror[4425]: starting cluster syncronization
Aug 21 11:02:45 mx-in-01 pmgmirror[4425]: sync error: syncing master configuration from '1.2.3.4' failed: rsync error: error in rsync protocol data stream (code 12) at io.c(235) [Receiver=3.1.2]
 
* do you have a cluster? and is the master really on '1.2.3.4'? (or did you modify the ip address?)
* please post the contents of '/etc/pmg/cluster.conf' (anonymized - remove the keys)
 
Hi,

i replaced the ip-adress in this post only, cutted the /etc/pmg/cluster.conf-file Node 5 (node-in-3) has the failure

Code:
master: 1
        fingerprint 32:EB:D3:08:0D:B2
        hostrsapubkey AAAAB3NzaC1yc2EA
        ip 1.2.3.4
        maxcid 5
        name node-1
        rootrsapubkey AAAAB3NzaC1yc2EAA
...
...
node: 4
        fingerprint F3:CF:8D:39:DF:C7
        hostrsapubkey AAAAB3NzaC1yc2EAAAA
        ip 1.2.3.5
        name node-in-2
        rootrsapubkey AAAAB3NzaC1yc2EAAAA

node: 5
        fingerprint 68:11:3B:16:2C:6A
        hostrsapubkey AAAAB3NzaC1yc2EAAAADAQABAAA
        ip 1.2.3.6
        name node-in-3
        rootrsapubkey AAAAB3NzaC1yc2EAAAADAQABAAA
 
Hmm - please restart `pmgtunnel` and `pmgmirror` (on the node with the problem)
* does `journalctl` show any relevant lines on node 5 or master?
 
hmm - how do you connect via ssh?
from the config-file you pasted - does something like: `ssh -l root -o BatchMode=yes -o HostKeyAlias=node-1 1.2.3.4` work when run on Node 5)?