Bug 430220
| Summary: | clusvcadm is ignoring -F and -m options | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Nick Strugnell <nstrug> | ||||||||
| Component: | rgmanager | Assignee: | Lon Hohberger <lhh> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | urgent | ||||||||||
| Version: | 5.1 | CC: | cluster-maint, jplans, pcfe, tao | ||||||||
| Target Milestone: | rc | Keywords: | ZStream | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | GSSApproved | ||||||||||
| Fixed In Version: | RHBA-2008-0353 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2008-05-21 14:30:56 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: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 431521 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Nick Strugnell
2008-01-25 11:59:07 UTC
Created attachment 292937 [details]
cluster.conf that demonstrates the behaviour
clusvcadm -Fe X works for me
clusvcadm -r X -[nm] Y works for me
clusvcadm -e X -[nm] Y doesn't...?
The -e worked in RHEL50, but regressed in RHEL51:
@@ -237,15 +263,24 @@
break;
case RG_ENABLE:
+ #if 0
if (req->rr_target != 0 &&
req->rr_target != my_id()) {
error = RG_EFORWARD;
ret = RG_NONE;
break;
}
+ #endif
This bit broke enable-on-member.
[root@molly daemons]# clusvcadm -Fe test
Local machine trying to enable service:test...Success
service:test is now running on frederick
Service configuration:
<failoverdomains>
<failoverdomain name="all" ordered="1" restricted="1">
<failoverdomainnode name="molly" priority="2"/>
<failoverdomainnode name="frederick" priority="1"/>
</failoverdomain>
</failoverdomains>
<service name="test" domain="all"/>
With patch applied, -e -m works too.
Created attachment 292945 [details]
RHEL 5.2 patch
Also tried -e X -F at Nick's suggestion. I don't understand why that would fail given the customer's configuration. Created attachment 292954 [details]
RHEL 5.1 patch
First patch makes -e -m work on RHEL5.2 Second patch makes -Fe and -e -m work on RHEL5.1 This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being proposed as a blocker for this release. Please resolve ASAP. Note that in RHEL 5.2 with central processing enabled, '-F' is implied. This is a behavioral change; users wishing the old behavior (e.g. enable X starts X on node that run clusvcadm) should not use the central processing option. Patches in CVS / RHEL51 and RHEL5. Patch in HEAD FWIW, test packages here: http://people.redhat.com/lhh/rgmanager-2.0.31-1.el5.bz430272.src.rpm http://people.redhat.com/lhh/rgmanager-2.0.31-1.el5.bz430272.x86_64.rpm http://people.redhat.com/lhh/rgmanager-2.0.31-1.el5.bz430272.ia64.rpm (Packages also fix bug #430272) 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-2008-0353.html |