[DRBD-user] Failover problem with LINSTORPlugin.pm for Proxmox

Roland Kammerer roland.kammerer at linbit.com
Sat Feb 23 10:29:18 CET 2019


On Fri, Feb 22, 2019 at 11:54:15PM +0100, Wanja Schonecke wrote:
> Hi Roland,

Hi Wanja,

> this works for me, just tested a failover successfully.

nice.

> But i had to change line 200 from
> if ($line !~ m/UpToDate/) die "wait-connect-resource failed AND none
> UpToDate";
> 
> to
> 
> if ($line !~ m/UpToDate/) { die "wait-connect-resource failed AND none
> UpToDate"; }
> 
> Before that proxmox had shown an perl error and my drbd-storages were
> disappeared.
> I'm not good at perl, but it seems that at least my version doesn't like
> IFs without braces.

That was just me in C mode, fixing things last minute, without
reevaluating. :-/

Thanks, I will then release a new version early next week (including
curly braces...)

Regards, rck


More information about the drbd-user mailing list