]> git.proxmox.com Git - pve-storage.git/commitdiff
Fix #1750: set monhost split to old behavior
authorAlwin Antreich <a.antreich@proxmox.com>
Fri, 4 May 2018 12:03:47 +0000 (14:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 4 May 2018 12:18:04 +0000 (14:18 +0200)
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 <a.antreich@proxmox.com>
PVE/Storage/RBDPlugin.pm

index 1f54c3749816cfa0b4f07e088b14afd7051bf54c..f695548ce5c4b656fb0fb7586bc4c53f1d276d6a 100644 (file)
@@ -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}";