[pve-devel] [PATCH v2 cluster 2/4] pvecm: updatecerts: allow specifying time to wait for quorum via CLI argument

Fiona Ebner f.ebner at proxmox.com
Fri Jun 30 13:55:21 CEST 2023

Am 30.06.23 um 13:49 schrieb Fiona Ebner:
> Useful for the updatecerts call triggered via the ExecStartPre hook
> for pveproxy.service.
> When starting a node that's part of a cluster, there is a time window
> between the start of pve-cluster.service and when quorum is reached
> (from the node's perspective). pveproxy.service is ordered after
> pve-cluster.service, but that does not prevent the ExecStartPre hook
> from being executed before the node is part of the quorate partition.
> The pvecm updatecerts command won't do much without quorum. Generating
> local (non-pmxcfs) files is still done before waiting on quorum.
> In particular, it might happen that the base directories for observed
> files will not get created during/after the upgrade from Proxmox VE 7
> to 8 (reported in the community forum [0] and reproduced right away in
> a virtual test cluster).
> Waiting on quorum should highly increase the chances for successful
> execution of the ExecStartPre hook.
> [0]: https://forum.proxmox.com/threads/129644/
> Suggested-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>

Sorry, noticed that I forgot to update the commit title here, will send
a v3.

More information about the pve-devel mailing list