[pve-devel] [PATCH cluster 2/3] pass 1 to noerr parameter for check_cfs_quorum

Dominik Csapak d.csapak at proxmox.com
Thu Nov 2 14:22:09 CET 2017


check_cfs_quorum can 'die' if we do not pass the noerr parameter
(if we do not want to do this, it makes no sense how we call it here)

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 data/PVE/Cluster.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index 26523f1..b91e0ae 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -911,7 +911,7 @@ my $cfs_lock = sub {
     alarm(0);
 
     if ($err && ($err eq "got lock request timeout\n") &&
-	!check_cfs_quorum()){
+	!check_cfs_quorum(1)){
 	$err = "$msg: no quorum!\n";
     }
 
-- 
2.11.0





More information about the pve-devel mailing list