Bug 190392
Summary: | cman init scripts seem to always fail when stopping | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Cluster Suite | Reporter: | Corey Marthaler <cmarthal> | ||||
Component: | cman | Assignee: | Abhijith Das <adas> | ||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | CC: | cfeist, cluster-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2006-0556 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-08-10 21:32:59 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: | |||||||
Attachments: |
|
Description
Corey Marthaler
2006-05-01 21:32:53 UTC
Needs passing to whever manages the init scripts. All the subsystems need to be shut down. This includes ccsd which polls cman to see if it is active. First, when did that change? Ccsd must be started before cman can be started and we've always (since the begining of rhel4) stopped cman before stopping ccsd and it worked just fine. Second, stopping ccsd first still doen't help: [root@taft-02 ~]# service ccsd stop Stopping ccsd: [ OK ] [root@taft-02 ~]# service cman stop Stopping cman: [FAILED] In both cases (before and after ccsd is stopped), a leave by hand shows that the stop did infact work: [root@taft-02 ~]# cman_tool leave cman_tool: Error leaving cluster: Cluster software not started Created attachment 128512 [details]
fix for bz
The cman init script ties the success of 'service cman stop' to successfully
completing a 'modprobe -r cman'. The 'modprobe -r' doesn't always succeed
because other modules (gfs, lock_dlm) may still be using it. This patch ties
the success of 'service cman stop' to 'cman_tool leave' which makes more sense
to me. Let me know if this works for you and I'll commit the patch.
Having the success tied to cluster membership removal does make more sense. The patch works for me. Checked in fix to RHEL4, HEAD and STABLE. fix verified. 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-2006-0556.html |