[pve-devel] applied: [PATCH storage] Fix #1750: set monhost split to old behavior

Thomas Lamprecht t.lamprecht at proxmox.com
Fri May 4 15:35:27 CEST 2018


On 5/4/18 2:03 PM, Alwin Antreich wrote:
> 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 at proxmox.com>
> ---
>  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}";
> 

applied and pushed a version bump commit.

@Dietmar please build and move to pvetest, thanks!




More information about the pve-devel mailing list