Bug 505258
Summary: | cman_tool leave remove does not reduce quorum | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Christine Caulfield <ccaulfie> | |
Component: | cman | Assignee: | Christine Caulfield <ccaulfie> | |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 5.3 | CC: | cfeist, cluster-maint, edamato, grimme, sghosh, slords, syeghiay | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | cman-2.0.106-1.el5 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 515446 (view as bug list) | Environment: | ||
Last Closed: | 2009-09-02 11:06:30 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 506768, 515446 |
Description
Christine Caulfield
2009-06-11 08:51:04 UTC
Checked in for 5.4: commit 935a60f838d37c848405d7df17404c3adad78392 Author: Christine Caulfield <ccaulfie> Date: Tue Jan 20 14:14:26 2009 +0000 cman: send fewer messages for each state transition. I'm not clear how this is supposed to work.
> Expected results:
> Quorum to be reduced to 2 and the cluster remains quorate
In a three node cluster, quorum should have been 2 to start with. Did you mean expected votes here?
I'm trying this out with a four node cluster where one node has been removed as directed.
[root@z3 ~]# cman_tool status
...
Nodes: 3
Expected votes: 4
Total votes: 3
Quorum: 3
With three nodes left in the cluster, should quorum have dropped to 2?
No. Cman only adjusts expected votes and quorum when it has to, to maintain quorate state. So going from 4 to 3 nodes doesn't change expected votes or quorum because losing a node in a 4-node cluster wouldn't cause the cluster to lose quorum in the first place. If you take another node out of that cluster (which without 'leave remove' would leave it inquorate) you should see: Nodes: 2 Expected votes: 2 Total votes: 2 Quorum: 2 While I was testing this I spotted that 'cman_tool leave remove' still doesn't work if there are no services running (eg fenced). So if you are testing using something like # cman_tool join # cman_tool leave remove Then you will still see it fail. There is a patch in STABLE3 to fix this. I'll commit it for 5.5 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 therefore 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/RHSA-2009-1341.html |