]> git.proxmox.com Git - pve-manager.git/commitdiff
ceph: Create symlink on standalone MGR creation
authorAlwin Antreich <a.antreich@proxmox.com>
Tue, 3 Dec 2019 10:52:26 +0000 (11:52 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Dec 2019 13:11:05 +0000 (14:11 +0100)
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@proxmox.com>
PVE/API2/Ceph/MGR.pm

index d3d86c0d68895512b895f9229297e9e542ba5f12..ffae749540f86fd3922481e920fb1209ffd0fa15 100644 (file)
@@ -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();