[pve-devel] r6513 - pve-cluster/trunk/data/PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Aug 22 07:22:56 CEST 2011


Author: dietmar
Date: 2011-08-22 07:22:56 +0200 (Mon, 22 Aug 2011)
New Revision: 6513

Modified:
   pve-cluster/trunk/data/PVE/pvecm
Log:


Modified: pve-cluster/trunk/data/PVE/pvecm
===================================================================
--- pve-cluster/trunk/data/PVE/pvecm	2011-08-22 05:22:20 UTC (rev 6512)
+++ pve-cluster/trunk/data/PVE/pvecm	2011-08-22 05:22:56 UTC (rev 6513)
@@ -318,6 +318,9 @@
     code => sub {
 	my ($param) = @_;
 
+	die "cluster not ready - no quorum?\n"
+	    if !PVE::Cluster::check_cfs_quorum();
+
 	my $cmd = ['ccs_tool', 'delnode', '-c', $clusterconf, $param->{node}];
 
 	exec (@$cmd);




More information about the pve-devel mailing list