Ceph MGR fails to start when installed on a node without existing
symlink to /etc/pve/ceph.conf.

Signed-off-by: Alwin Antreich <a.antre...@proxmox.com>
---
 PVE/API2/Ceph/MGR.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/API2/Ceph/MGR.pm b/PVE/API2/Ceph/MGR.pm
index d3d86c0d..ffae7495 100644
--- a/PVE/API2/Ceph/MGR.pm
+++ b/PVE/API2/Ceph/MGR.pm
@@ -108,6 +108,7 @@ __PACKAGE__->register_method ({
 
        PVE::Ceph::Tools::check_ceph_installed('ceph_mgr');
        PVE::Ceph::Tools::check_ceph_inited();
+       PVE::Ceph::Tools::setup_pve_symlinks();
 
        my $rpcenv = PVE::RPCEnvironment::get();
        my $authuser = $rpcenv->get_user();
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to