Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 578810 Details for
Bug 772773
HA LVM service relocation after leg device failure fails due to inability to remove tag
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch 1 of 2 to fix the problem
bz772773-lvm_by_vg-not-stripping-tags-part1.patch (text/plain), 1.30 KB, created by
Jonathan Earl Brassow
on 2012-04-19 23:59:26 UTC
(
hide
)
Description:
Patch 1 of 2 to fix the problem
Filename:
MIME Type:
Creator:
Jonathan Earl Brassow
Created:
2012-04-19 23:59:26 UTC
Size:
1.30 KB
patch
obsolete
>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. >Index: resource-agents/rgmanager/src/resources/lvm_by_vg.sh >=================================================================== >--- resource-agents.orig/rgmanager/src/resources/lvm_by_vg.sh >+++ resource-agents/rgmanager/src/resources/lvm_by_vg.sh >@@ -264,11 +264,7 @@ function vg_start_single > return $OCF_ERR_GENERIC > fi > >- vg_owner >- if [ $? -eq 0 ]; then >- ocf_log err "Unable to claim ownership of $OCF_RESKEY_vg_name" >- return $OCF_ERR_GENERIC >- fi >+ ocf_log notice "Cleanup of $OCF_RESKEY_vg_name successful" > > if ! strip_and_add_tag || > ! vgchange -ay $OCF_RESKEY_vg_name; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 772773
:
551697
| 578810 |
578811