mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-12 12:39:14 +00:00
ceph: reload API daemons after installation
To make them load the updated librados2, as else they may potentially not be able to communicate with the potentially newer ceph monitors, as Debian 10 ships Jewel (12.2) by default... While we could do some more fancy signaling to the workers to reload the lib, that is rather a PITA and complex solution for something that happens once in a blue moon. We may want to add a trigger in ceph for this on updates though, that would effectively fix this too - but needs to be thought out better. So for now lets go with the simplest solution. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
51498a2664
commit
ece49b3c90
@ -177,7 +177,12 @@ __PACKAGE__->register_method ({
|
||||
die "apt failed during ceph installation ($?)\n";
|
||||
}
|
||||
|
||||
print "\ninstalled ceph $cephver successfully\n";
|
||||
print "\ninstalled ceph $cephver successfully!\n"
|
||||
|
||||
print "\nreloading API to load new Ceph RADOS library...\n";
|
||||
run_command([
|
||||
'systemctl', 'try-reload-or-restart', 'pvedaemon.service', 'pveproxy.service'
|
||||
]);
|
||||
|
||||
return undef;
|
||||
}});
|
||||
|
Loading…
Reference in New Issue
Block a user