pvecm: increase certificate generation timeout (#5510)

This should fix pveproxy.service on slow hardware.
Bug: https://bugzilla.proxmox.com/show_bug.cgi?id=5510

Signed-off-by: Louis Sautier <sautier.louis@gmail.com>
This commit is contained in:
Louis Sautier 2025-05-26 20:52:01 +02:00 committed by Thomas Lamprecht
parent a042611c9d
commit 9714b9038a

View file

@ -593,7 +593,7 @@ __PACKAGE__->register_method ({
# pveproxy's ExecStartPre calls this, and as we do IO (on /etc/pve) that can hang
# (uninterruptible D state) we could fail the whole service, rendering the API guaranteed
# inaccessible. Let's rather fail small(er) as the API could still work without this..
my ($_res, $got_timeout) = PVE::Tools::run_fork_with_timeout(30, sub {
my ($_res, $got_timeout) = PVE::Tools::run_fork_with_timeout(80, sub {
PVE::Cluster::Setup::generate_local_files();
for (my $i = 0; !PVE::Cluster::check_cfs_quorum(1); $i++) {