From 0b45fb3eb5e3e993f70baa362779573bf98ee662 Mon Sep 17 00:00:00 2001 From: Alwin Antreich Date: Fri, 4 May 2018 14:03:47 +0200 Subject: [PATCH] Fix #1750: set monhost split to old behavior The path method of the RBDPlugin got a list with comma separated monhosts, but it needs the list with semi-colon for qemu. Signed-off-by: Alwin Antreich --- PVE/Storage/RBDPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index 1f54c37..f695548 100644 --- a/PVE/Storage/RBDPlugin.pm +++ b/PVE/Storage/RBDPlugin.pm @@ -345,7 +345,7 @@ sub path { if ($cmd_option->{ceph_conf}) { $path .= ":conf=$cmd_option->{ceph_conf}"; } else { - my $monhost = $cmd_option->{mon_host}; + my $monhost = $hostlist->($scfg->{monhost}, ';'); $monhost =~ s/:/\\:/g; $path .= ":mon_host=$monhost"; $path .= ":auth_supported=$cmd_option->{auth_supported}";