[pve-devel] [PATCH manager] ceph: Create symlink on standalone MGR creation

Alwin Antreich a.antreich at proxmox.com
Tue Dec 3 11:52:26 CET 2019


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

Signed-off-by: Alwin Antreich <a.antreich at 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




More information about the pve-devel mailing list