[pve-devel] [PATCH librados2-perl] fix #1950: use /etc/pve/ceph.conf as default
Tim Marx
t.marx at proxmox.com
Mon Dec 10 12:52:28 CET 2018
If there is no symlink between '/etc/ceph/ceph.conf -> /etc/pve/ceph.conf',
executing a RADOS command results in an exception.
For example on a cluster node where no monitor is configured and no
'pveceph init' was performed, this leads to unexpected conditions. On such a
node, if you check the monitor tab in GUI the monitors are correctly displayed,
but they seem to have no quorum, because actually the RADOS command didn't return.
Signed-off-by: Tim Marx <t.marx at proxmox.com>
---
PVE/RADOS.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/RADOS.pm b/PVE/RADOS.pm
index d9e2e3b..11af8a6 100644
--- a/PVE/RADOS.pm
+++ b/PVE/RADOS.pm
@@ -13,7 +13,7 @@ use PVE::RPCEnvironment;
require Exporter;
my $rados_default_timeout = 5;
-my $ceph_default_conf = '/etc/ceph/ceph.conf';
+my $ceph_default_conf = '/etc/pve/ceph.conf';
my $ceph_default_user = 'admin';
--
2.11.0
More information about the pve-devel
mailing list