[pve-devel] [PATCH manager 1/4] ceph: change check if installed to ceph mon binary

Tim Marx t.marx at proxmox.com
Thu Jan 10 13:54:30 CET 2019


Signed-off-by: Tim Marx <t.marx at proxmox.com>
---
 PVE/Ceph/Tools.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Ceph/Tools.pm b/PVE/Ceph/Tools.pm
index 6c7e7c1f..0ada98cf 100644
--- a/PVE/Ceph/Tools.pm
+++ b/PVE/Ceph/Tools.pm
@@ -99,7 +99,7 @@ sub check_ceph_installed {
 sub check_ceph_inited {
     my ($noerr) = @_;
 
-    return undef if !check_ceph_installed('ceph_bin', $noerr);
+    return undef if !check_ceph_installed('ceph_mon', $noerr);
 
     if (! -f $pve_ceph_cfgpath) {
 	die "pveceph configuration not initialized\n" if !$noerr;
-- 
2.11.0




More information about the pve-devel mailing list