[pve-devel] applied: [PATCH librados2-perl] fix #1950: use /etc/pve/ceph.conf as default

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Dec 10 16:27:05 CET 2018


On 12/10/18 12:52 PM, Tim Marx wrote:
> 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';
>  
>  
> 





More information about the pve-devel mailing list