Bug 772773
| Summary: | HA LVM service relocation after leg device failure fails due to inability to remove tag | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jonathan Earl Brassow <jbrassow> | ||||||||
| Component: | resource-agents | Assignee: | Jonathan Earl Brassow <jbrassow> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||||||
| Severity: | urgent | Docs Contact: | |||||||||
| Priority: | urgent | ||||||||||
| Version: | 6.2 | CC: | agk, cfeist, cluster-maint, cmarthal, dwysocha, heinzm, jbrassow, lhh, mbroz, mjuricek, prajnoha, prockai, syeghiay, thornber, zkabelac | ||||||||
| Target Milestone: | rc | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | resource-agents-3.9.2-12.el6 | Doc Type: | Bug Fix | ||||||||
| Doc Text: |
No documentation needed.
|
Story Points: | --- | ||||||||
| Clone Of: | 769731 | Environment: | |||||||||
| Last Closed: | 2012-06-20 14:39:20 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: | 769731 | ||||||||||
| Bug Blocks: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Jonathan Earl Brassow
2012-01-09 22:50:29 UTC
Created attachment 551697 [details]
Patch for 769731 fix (which this bug was cloned from)
Created attachment 578810 [details]
Patch 1 of 2 to fix the problem
This first patch removes a redundant test. If the 'strip_and_add_tag' function succeeds, the operating node will be the owner - that is certain. If it fails, then the ownership is unknown, but we will try again anyway.
The problem comes when we try 'strip_and_add_tag' and it fails. We may clean up the volume group, but we don't have a chance to add the proper tag before 'vg_owner' is called - making this test not only redundant in the good case, but fatal to operation in the bad case.
This patch only fixes this bug if the service is moving due to a node failure. If the service is moving due to an administrative command, the next node will see a tag on the VG that belongs to a live node and refuse to activate it.
An additional patch will clear up the issue of moving the service via admin command.
Created attachment 578811 [details]
Patch 2 of 2 to fix the problem
The second patch attempts to clean-up the VG after a failure to strip any tags and then tries again. Rebuilt in resource-agents-3.9.2-12.el6.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No documentation needed.
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-2012-0947.html |