Bug 1151199
Summary: | rgmanager: Restricted domain non-member can start service if all other members exhausted | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | John Ruemker <jruemker> | ||||
Component: | rgmanager | Assignee: | Ryan McCabe <rmccabe> | ||||
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.6 | CC: | cluster-maint, mjuricek, qguo | ||||
Target Milestone: | rc | Keywords: | EasyFix, Patch | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | rgmanager-3.0.12.1-22.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
Previously, when relocating a service, the rgmanager utility attempted to use all nodes in a domain and if all failed, rgmanager restarted the service locally without checking whether the local node was eligible to run the service and regardless of whether the service had been started. Consequently, under certain circumstances, a service in a restricted domain could be started on a non-member node. With this update, if the service cannot be started on any domain members, the service goes back to a stopped state, and rgmanager no longer attempts to start the service on a local node outside the restricted domain.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-07-22 07:32:40 UTC | Type: | Bug | ||||
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
John Ruemker
2014-10-09 18:46:09 UTC
Created attachment 945425 [details]
rgmanager: Do not restart a service locally after failed relocation if failover domains prohibit it
Test results:
Oct 9 14:14:37 rhel6-node1 rgmanager[26366]: Starting stopped service service:test
Oct 9 14:14:37 rhel6-node1 rgmanager[27637]: [script] Executing /root/script start
Oct 9 14:14:37 rhel6-node1 rgmanager[27658]: [script] script:script: start of /root/script failed (returned 1)
Oct 9 14:14:37 rhel6-node1 rgmanager[26366]: start on script "script" returned 1 (generic error)
Oct 9 14:14:37 rhel6-node1 rgmanager[26366]: #68: Failed to start service:test; return value: 1
Oct 9 14:14:37 rhel6-node1 rgmanager[26366]: Stopping service service:test
Oct 9 14:14:37 rhel6-node1 rgmanager[27687]: [script] Executing /root/script stop
Oct 9 14:14:37 rhel6-node1 rgmanager[26366]: Service service:test is recovering
Oct 9 14:14:37 rhel6-node2 rgmanager[12348]: Recovering failed service service:test
Oct 9 14:14:38 rhel6-node2 rgmanager[13379]: [script] Executing /root/script start
Oct 9 14:14:38 rhel6-node2 rgmanager[13400]: [script] script:script: start of /root/script failed (returned 1)
Oct 9 14:14:38 rhel6-node2 rgmanager[12348]: start on script "script" returned 1 (generic error)
Oct 9 14:14:38 rhel6-node2 rgmanager[12348]: #68: Failed to start service:test; return value: 1
Oct 9 14:14:38 rhel6-node2 rgmanager[12348]: Stopping service service:test
Oct 9 14:14:38 rhel6-node2 rgmanager[13429]: [script] Executing /root/script stop
Oct 9 14:14:38 rhel6-node2 rgmanager[12348]: Service service:test is recovering
Oct 9 14:14:40 rhel6-node3 rgmanager[7778]: Failed to relocate service:test; giving up
Oct 9 14:14:40 rhel6-node3 rgmanager[7778]: Stopping service service:test
Oct 9 14:14:40 rhel6-node3 rgmanager[8625]: [script] Executing /root/script stop
Oct 9 14:14:40 rhel6-node3 rgmanager[7778]: Service service:test is stopped
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. https://rhn.redhat.com/errata/RHBA-2015-1402.html |