Bug 442008
| Summary: | expected_votes recalculation doesn't work when a node is removed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Thorsten Scherf <tscherf> |
| Component: | cman | Assignee: | Christine Caulfield <ccaulfie> |
| Status: | CLOSED NOTABUG | QA Contact: | GFS Bugs <gfs-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.1 | CC: | cluster-maint, edamato, lhh |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-04-11 12:36:04 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: | |||
|
Description
Thorsten Scherf
2008-04-11 07:57:56 UTC
Thorsten Scherf wrote:
> Thats weird. I tested it several times with the result I reported. Now I
> tested it again several times and I have a completely different result,
> check my BZ #442008 for this. The number of expected votes is _not_
> recalculated even if I cleanly remove a node from the cluster. really looks
> like something is not working proper in cman code...
>
> could you try to verify this? could it be related to xen?
I spend most of yesterday trying to verify it, and it all works fine on my test
cluster ... which is a Xen one.
What do you mean by "cleanly remove" a node? The only way to reduce expected
votes by removing a node is to use the "cman_tool leave remove" command. The
init scripts do NOT do this TTBOMK (unless that's changed very recently).
If you can reproduce it, can you start the cluster wit "cman tool join -d" and
paste the output of all nodes into the BZ please ?
well, I have to use "cman_tool force leave remove", otherwise I get this: [root@c10n4 ~]# cman_tool leave remove cman_tool: Error leaving cluster: Device or resource busy [root@c10n4 ~]# could this be the difference? why do I have to use the force option here? guessing there are still some processes requiring cman? according to http://post-office.corp.redhat.com/archives/cluster-list/2007-July/msg00145.html calling service cman stop should also cleanly remove a node from the cluster, but haven't checked the init script so far. 'remove' or 'force' ? They are very different options. I used this command: [root@c10n4 ~]# cman_tool force leave remove as force is a leave option, according to the man page. force overrides remove, so it's correct that quorum is not adjusted with that command. You should not need to use force if all the cluster subsystems are shut down correctly. Only cman runs on the node where I call "cman_tool leave remove". Nevertheless I get the device or ressource busy message. Can we clarify what is happening here please ? I think the expected_votes bug is not a bug, just a misunderstanding. So on that basis alone I'm tempted to close this BZ If you think that cman is incorrectly preventing you from leaving the cluster then we need some more information, just /what/ processes are running on the system; output from cman_tool status; and an lsof output to see if any processes are still connected to cman. |