Bug 639103
| Summary: | last_owner is not correctly updated on service failover | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Lon Hohberger <lhh> |
| Component: | rgmanager | Assignee: | Lon Hohberger <lhh> |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.0 | CC: | cluster-maint, cmarthal, edamato, igor1182 |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rgmanager-3.0.12-11.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 610483 | Environment: | |
| Last Closed: | 2011-05-19 14:18:21 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
Lon Hohberger
2010-09-30 20:40:05 UTC
[root@snap ~]# clustat Cluster Status for sereal @ Thu Sep 30 17:17:55 2010 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ snap 1 Online, Local, rgmanager crackle 2 Online, rgmanager Service Name Owner (Last) State ------- ---- ----- ------ ----- service:test snap started [root@snap ~]# clusvcadm -r test Trying to relocate service:test...Failure: Service is frozen [root@snap ~]# clusvcadm -U test Local machine unfreezing service:test...Success [root@snap ~]# clusvcadm -r test Trying to relocate service:test...clustat -l Success service:test is now running on crackle [root@snap ~]# clustat -l Cluster Status for sereal @ Thu Sep 30 17:18:32 2010 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ snap 1 Online, Local, rgmanager crackle 2 Online, rgmanager Service Information ------- ----------- Service Name : service:test Current State : started (112) Owner : crackle Last Owner : snap Last Transition : Thu Sep 30 17:18:27 2010 Yeah, this is just for failover. Ok. Is the last owner now only supposed to show up in the long output format? The regular (Last) clustat output is still blank. [root@taft-01 sbin]# clustat Cluster Status for TAFT @ Thu Apr 14 17:54:48 2011 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ taft-01 1 Online, Local, rgmanager taft-02 2 Online, rgmanager taft-03 3 Online, rgmanager taft-04 4 Online, rgmanager Service Name Owner (Last) State ------- ---- ----- ------ ----- service:nfs1 taft-03 started # FAILOVER/FENCING TAKES PLACE [root@taft-01 sbin]# clustat Cluster Status for TAFT @ Thu Apr 14 17:55:43 2011 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ taft-01 1 Online, Local, rgmanager taft-02 2 Online, rgmanager taft-03 3 Offline taft-04 4 Online, rgmanager Service Name Owner (Last) State ------- ---- ----- ------ ----- service:nfs1 taft-01 started [root@taft-01 sbin]# clustat -l Cluster Status for TAFT @ Thu Apr 14 17:56:19 2011 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ taft-01 1 Online, Local, rgmanager taft-02 2 Online, rgmanager taft-03 3 Offline taft-04 4 Online, rgmanager Service Information ------- ----------- Service Name : service:nfs1 Current State : started (112) Flags : none (0) Owner : taft-01 Last Owner : taft-03 Last Transition : Thu Apr 14 17:55:19 2011 That's correct. clustat reports (last_owner) if the service is in the stopped state. You will see the last owner in: ' clustat -l ' ' clustat -x ' outputs. Marking verified based on comments #5 and #6. 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-0750.html |