[SOLVED] Nodes stay Syncing after update

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
5,898
805
148
Hmpf :/
maybe it's a mismatch between the list compiled from the database and the files in the directory:
could you save the /tmp/quarantinefilelist.xxxx file while pmgmirror is running and try to run rsync (as specified above) with '--files-from quarantinefilelist.xxxx' ?

Thanks for helping in narrowing this down!
 

Soporte Servi

New Member
Jul 1, 2019
13
0
1
27
Heres the output:

root@host1:/tmp# rsync '--rsh=ssh -l root -o BatchMode=yes -o HostKeyAlias=host2' -avq --timeout 2000 '[X.X.X.2]:/var/spool/pmg' /var/spool/pmg --files-from /tmp/quarantinefilelist.20882bak

rsync: link_stat "/var/spool/pmg/cluster/2/virus/89/8266F5CF4D9C729289" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.2]


I've been searching if the files inside the quarantinefilelist exists and theres only one that doesnt exists. I created it manually on host2 and now It works!!!!!

All nodes are synced now

NAME(CID)--------------IPADDRESS----ROLE-STATE---------UPTIME---LOAD----MEM---DISK
host2(2) X.X.X.2 node A 58 days 17:41 0.28 53% 36%
host3(3) X.X.X.3 node A 58 days 21:24 0.15 41% 44%
host1(1) X.X.X.1 master A 58 days 21:49 0.05 44% 25%
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
5,898
805
148
rsync: link_stat "/var/spool/pmg/cluster/2/virus/89/8266F5CF4D9C729289" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.2]
ok - that explains the pmgmirror error :)

seems somehow a quarantined mail vanished between 2 sync runs - if it happens only once I'd call it a glitch - else you can look at the logs during the upgrade - maybe you'll find how it happened

In any case glad the cluster is in sync again!
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
5,898
805
148
You're welcome - was a rather intricate issue ...

Please mark the thread as 'SOLVED' that way others know what to expect :)

Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!