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 578811 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 2 of 2 to fix the problem
bz772773-lvm_by_vg-not-stripping-tags-part2.patch (text/plain), 1.04 KB, created by
Jonathan Earl Brassow
on 2012-04-20 00:00:26 UTC
(
hide
)
Description:
Patch 2 of 2 to fix the problem
Filename:
MIME Type:
Creator:
Jonathan Earl Brassow
Created:
2012-04-20 00:00:26 UTC
Size:
1.04 KB
patch
obsolete
>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 >@@ -49,7 +49,7 @@ function vg_owner > return 1 > } > >-function strip_tags >+function _strip_tags > { > local i > >@@ -66,6 +66,29 @@ function strip_tags > return $OCF_SUCCESS > } > >+function strip_tags >+{ >+ if ! _strip_tags; then >+ ocf_log notice "Attempting cleanup of $OCF_RESKEY_vg_name" >+ >+ if ! vgreduce --removemissing --force --config \ >+ "activation { volume_list = \"$OCF_RESKEY_vg_name\" }" \ >+ $OCF_RESKEY_vg_name; then >+ >+ ocf_log err "Failed to make $OCF_RESKEY_vg_name consistent" >+ return $OCF_ERR_GENERIC >+ fi >+ >+ ocf_log notice "Cleanup of $OCF_RESKEY_vg_name successful" >+ fi >+ if ! _strip_tags; then >+ ocf_log err "Failed 2nd attempt to remove tags from, $OCF_RESKEY_vg_name" >+ return $OCF_ERR_GENERIC >+ fi >+ >+ return $OCF_SUCCESS >+} >+ > function strip_and_add_tag > { > if ! strip_tags; 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