Hey, everyone!
SOME CONTEXT
I have a production 3-node Proxmox 7.2 cluster which has been running very fine for a few months now. Each node was installed on top of a Debian 11 Bullseye via the procedure explained in the Install Proxmox VE on Debian 11 Bullseye wiki page. It only runs LinuX Containers (LXC, no VMs) with Debian 11 and Ubuntu 20.04 (and one Debian 9 because... life, heh).
A few days ago I realised that a number of errors had been happening for almost two weeks, all related to RRDC. Just a few examples would be:
After digging in these forums for a couple of hours, I managed to sort the problem out via a restart of
[1] Later I found out that restarting
THE QUESTION
Among many other pages [2], one that I visited was the Time Synchronization wiki page. This is the one that led me to the
Also:
This Chrony vs systemd-timesync thread on Stack Exchange does a pretty good job IMHO describing the scenario in which
So my question would be: Am I fine running
Thanks in advance for your feedback.
[2] https://forum.proxmox.com/threads/rrdc-time-spam.56011/, https://forum.proxmox.com/threads/solved-rrdc-update-error.16256/ and, mainly, https://forum.proxmox.com/threads/notice-rrdc-rrd-update-error.103473/
SOME CONTEXT
I have a production 3-node Proxmox 7.2 cluster which has been running very fine for a few months now. Each node was installed on top of a Debian 11 Bullseye via the procedure explained in the Install Proxmox VE on Debian 11 Bullseye wiki page. It only runs LinuX Containers (LXC, no VMs) with Debian 11 and Ubuntu 20.04 (and one Debian 9 because... life, heh).
A few days ago I realised that a number of errors had been happening for almost two weeks, all related to RRDC. Just a few examples would be:
Code:
pmxcfs[727]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/proxmox1/local: -1
pmxcfs[727]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-storage/proxmox1/pbs1: -1
pmxcfs[729]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-vm/105
After digging in these forums for a couple of hours, I managed to sort the problem out via a restart of
systemd-timesyncd
, pvedaemon
, pveproxy
, pvestatd
and pve-cluster
[1] in each node and a few reboots, but without having to delete the RRDC cache which, if I understood correctly, would be the relatively harmless last resort.[1] Later I found out that restarting
systemd-timesyncd
and pvestatd
should have been enough.THE QUESTION
Among many other pages [2], one that I visited was the Time Synchronization wiki page. This is the one that led me to the
systemd-timesyncd
restarts, but it also led me to think why this scary event had happened in the first place and whether I should uninstall systemd-timesyncd
and install Chrony instead. From the wiki page:As of Proxmox VE 7, chrony is used as the default NTP daemon, while Proxmox VE 6 uses systemd-timesyncd.
Also:
If you upgrade your system to Proxmox VE 7, it is recommended that you manually install either chrony, ntp or openntpd.
This Chrony vs systemd-timesync thread on Stack Exchange does a pretty good job IMHO describing the scenario in which
systemd-timesyncd
should suffice, which kind of suits my context as I use the Hetzner's NTP servers:
Code:
~ # cat /etc/systemd/timesyncd.conf.d/hetzner.conf
[Time]
NTP=ntp1.hetzner.de ntp2.hetzner.com ntp3.hetzner.net
So my question would be: Am I fine running
systemd-timesyncd
in my three hosts/nodes, or should I switch to Chrony? If so, would you think it should be added to the Install Proxmox VE on Debian 11 Bullseye wiki page as a "must do"? Or should I be fine with systemd-timesyncd
and I should wait and see if this happens again, as it should not?Thanks in advance for your feedback.
[2] https://forum.proxmox.com/threads/rrdc-time-spam.56011/, https://forum.proxmox.com/threads/solved-rrdc-update-error.16256/ and, mainly, https://forum.proxmox.com/threads/notice-rrdc-rrd-update-error.103473/
Last edited: