]> git.proxmox.com Git - pve-cluster.git/commit
cluster join: ensure updatecerts gets called on quorate cluster
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 8 Mar 2018 16:17:45 +0000 (17:17 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 13 Mar 2018 11:33:14 +0000 (12:33 +0100)
commit8f64504cb2e0fb55e93044ebf70fd8857cf4dab6
tree793b3b904b5e2bb50dc8baa56d5be88e1c568738
parent65ee8001f319978cf6c840c05ca74162ff1eecd7
cluster join: ensure updatecerts gets called on quorate cluster

We moved the start of pve-cluster together with the one of corosync
earlier, before the quorate check.
This meant that the 'pvecm updatecerts --silent' we call in the
from the pve-cluster.service through ExecStartPost exited as it has
not yet quorum.

So factor the respective code out to the Cluster perl module and
call this function manually after we reached quorum.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/CLI/pvecm.pm
data/PVE/Cluster.pm