Description of problem: Running "cman_tool leave remove" on one node of a cluster does not reduce quorum on the remainder of the cluster. So if you remove half the nodes, the cluster will go inquorate and stall. Version-Release number of selected component (if applicable): 5.0+ How reproducible: Every time Steps to Reproduce: 1. Start up a cluster 2. cman_tool leave remove half the nodes Actual results: cman_tool status shows quorum still at original value, and cluster is inquorate Expected results: cman_tool should reduce quorum and continue running. Additional info:
Created attachment 183581 [details] Patch to fix I'm away until Thursday next week, so here's the patch if anyone fancies testing it.
Checked into head of CVS Checking in commands.c; /cvs/cluster/cluster/cman/daemon/commands.c,v <-- commands.c new revision: 1.70; previous revision: 1.69 done
Added to RHEL5 Checking in commands.c; /cvs/cluster/cluster/cman/daemon/commands.c,v <-- commands.c new revision: 1.55.2.11; previous revision: 1.55.2.10 done
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
I use cman-2.0.83-2.el5, according to the changelog the fix is included here. The number of expected votes/quorum is not recalculated after I cleanly removed a node from the cluster with cman_tool leave remove (after I manually killed fenced, ccsd since this was the only I to run cman_tool leave remove).
Thorsten is right, this fix was broken by 1.55.2.13.
The fix is in git, for master & STABLE2 branches: commit 529c79ee350e06e14075dd2006b34920bacdb4bb Author: Christine Caulfield <ccaulfie> Date: Mon Apr 14 14:01:13 2008 +0100 [CMAN] Save the new expected_votes when a node is removed
Now in RHEL52 branch: commit 4f5e3c542d1e08f3acfd61882437ec839e3658b0 Author: Christine Caulfield <ccaulfie> Date: Mon Apr 14 17:28:33 2008 +0100 [CMAN] Save the new expected_votes when a node is removed
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0347.html