Bug 129193
| Summary: | cluster can hang if lock_gulmd logs out on mounted client | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Cluster Suite | Reporter: | Adam "mantis" Manthei <amanthei> | ||||
| Component: | gfs | Assignee: | michael conrad tadpol tilstra <mtilstra> | ||||
| Status: | CLOSED ERRATA | QA Contact: | GFS Bugs <gfs-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2005-05-25 16:41:08 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
Adam "mantis" Manthei
2004-08-04 22:38:07 UTC
As an aside, lock_gulmd logsout cleanly when it receives SIGTERM. Given that "bad things" can happen when the lock server logs out cleanly while there are active resources (e.g. GFS or GNBD) it might be justifiable to remove the possibility of accidently shooting your self in the foot with SIGTERM by simply ignoring it altogether. Part of the original justification for having lock_gulmd shutdown cleanly on sigterm was to handle machines shutting down and receiving SIGTERM from killall. Since this is generally run *after* networking has been shutdown, the node will be fenced anyway since it will not be able to issue a clean shutdown over the downed interface. Now that there are init.d scripts for lock_gulmd, it makes even more sense to ignore SIGTERM. Created attachment 102529 [details]
Drop all lock holds on node logout.
This implements the droplocks on logout idea. Not fully sure what all of the
side effects of this are yes. So give it a whirl, see what breaks.
CVS head ignores sigterm now. OK, but what about RHEL3? sig_ign on sigterm in 6.0 sources now too. in RHEL3 now too. cvs head, core now gets locked by gulm kernel module. until module logs out, core will ignore shutdown reqs. sigterm ignoring and core locking in 6.0.* now too. 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-2005-466.html |