Bug 595725
Summary: | cman init script is not consistent in checking daemons startup and introduces possible race conditions | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Fabio Massimo Di Nitto <fdinitto> |
Component: | cluster | Assignee: | Fabio Massimo Di Nitto <fdinitto> |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | agk, ccaulfie, cluster-maint, dwysocha, heinzm, jbrassow, jkortus, joe.thornber, lhh, mbroz, prockai, rpeterso, syeghiay, teigland, toarney |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | cluster-3.0.12-36.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 13:03:41 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
Fabio Massimo Di Nitto
2010-05-25 13:17:22 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. This issue has been proposed when we are only considering blocker issues in the current Red Hat Enterprise Linux release. It has been denied for the current Red Hat Enterprise Linux release. ** If you would still like this issue considered for the current release, ask your support representative to file as a blocker on your behalf. Otherwise ask that it be considered for the next Red Hat Enterprise Linux release. ** For consistency: either the scripts wait, or the daemons wait. If the scripts wait, then the cman startup script shouldn't exit until it's ready. (It's not the job of the clvmd script to include waiting loops for things it depends on: it shouldn't get started until they are ready for it!) If the daemons do the waiting, then it's fine for the scripts to exit before everything is ready. (That's probably more consistent with the future systemd approach too.) (In reply to comment #4) > For consistency: either the scripts wait, or the daemons wait. > > If the scripts wait, then the cman startup script shouldn't exit until it's > ready. > (It's not the job of the clvmd script to include waiting loops for things it > depends on: it shouldn't get started until they are ready for it!) > > If the daemons do the waiting, then it's fine for the scripts to exit before > everything is ready. (That's probably more consistent with the future systemd > approach too.) I´ll fix this one in cman init script. As for the daemon solution, I don´t think it´s worth doing it right now, because cman is going away and most of the daemons will change they way they start/or be started. As extra information, I am not able to reproduce the original problem anymore. Probably fixed as side effect of: rhbz#639018. Patches to fix cman init and dlm_controld are being tested right now. Moving to 6.2. http://git.fedorahosted.org/git?p=cluster.git;a=commitdiff;h=cabcd8334dff93f4a520eefda7b15cb26b495285 http://git.fedorahosted.org/git?p=cluster.git;a=commitdiff;h=4a14778e8bb739fb06abe575d5564b4a7e5079ad fixes are upstream 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/RHBA-2011-0537.html |