[pve-devel] [PATCH ha-manager] get_pve_lock: allow retrying if pmxcfs is offline

Dietmar Maurer dietmar at proxmox.com
Tue Nov 15 12:08:53 CET 2016


# pve cluster filesystem not online
> -	die "can't create '$lockdir' (pmxcfs not mounted?)\n" if ! -d $lockdir;
> +	if (! -d $lockdir) {
> +	    $self->log('err', "can't create '$lockdir' (pmxcfs not mounted?)");
> +	    return 0;
> +	}

You are inside 'eval', so this does not retry anything!




More information about the pve-devel mailing list