| Summary: | clusvcadm -d service name does not act consistently | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Rob Marti <robmartiwork> |
| Component: | rgmanager | Assignee: | Lon Hohberger <lhh> |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.1 | CC: | cluster-maint, djansa, edamato, fdinitto, jganovsk, kbooth, mkelly |
| Target Milestone: | rc | ||
| Target Release: | 6.2 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rgmanager-3.0.12.1-2.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 11:57:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Rob Marti
2011-01-27 15:52:16 UTC
It looks like it has to do with the return codes when a service goes from "failed" -> "disabled" vs. when it goes from "started" -> "disabled". I'd like to fix this in Red Hat Enterprise Linux 6 since it's mostly a nuisance and not causing any service outages. +1 - Although there are circumstances when I actually get a result similar to "Local machine disabling service:<servicename>...Yes" (notice the ...Yes instead of ...Success) after which I cannot restart the resource. I have to run -d twice in a row, getting two differing results, before re-enabling the service Local machine disabling service:<servicename>...Yes Local machine disabling service:<servicename>...Success So, the fix does the following... 1) Fail to start (and fail to stop) during enable requests will result in 'Aborted; service failed' 2) Fail to stop during relocation requests will result in 'Aborted; service failed' 3) Fail to stop during 'stop' requests or 'disable' requests will result in 'Failure' 4) Fail to stop during 'disable' requests when the service is in the failed or disabled states will result in 'Warning; see system logs' 5) No amount of disable or stop requests will clear last-known owner, making this consistent (previously, disable-after-disable would erroneously clear previous owner) (1 & 2 should be how rgmanager worked previously; these didn't change) Upstream commit: http://git.fedorahosted.org/git?p=cluster.git;a=commit;h=2258ab6fb3013e346ab1a675ab81d07e0fa4cb81 *** Bug 727023 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1595.html *** Bug 857591 has been marked as a duplicate of this bug. *** |