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 886467 Details for
Bug 1083938
[RFE] Support fence_kdump configuration for generic clusters
[?]
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]
[RHEL6.6 PATCH 1/4] Add function is_pcs_fence_kdump
0001-Add-function-is_pcs_fence_kdump.patch (text/plain), 1.48 KB, created by
Martin Perina
on 2014-04-15 12:46:38 UTC
(
hide
)
Description:
[RHEL6.6 PATCH 1/4] Add function is_pcs_fence_kdump
Filename:
MIME Type:
Creator:
Martin Perina
Created:
2014-04-15 12:46:38 UTC
Size:
1.48 KB
patch
obsolete
>From f4f95878f3825842bbb3ea67c20256e530eb0ec2 Mon Sep 17 00:00:00 2001 >From: Martin Perina <mperina@redhat.com> >Date: Tue, 15 Apr 2014 10:50:53 +0200 >Subject: [RHEL6.6 PATCH 1/4] Add function is_pcs_fence_kdump > >Extracts relevant parts of code into function is_pcs_fence_kdump. >This is part of code cleanup prior to introduction of fence_kdump >configuration for generic clusters. > >Related: rhbz#1083938 >Signed-off-by: Martin Perina <mperina@redhat.com> >--- > mkdumprd | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > >diff --git a/mkdumprd b/mkdumprd >index e0814ad..e0b4b69 100644 >--- a/mkdumprd >+++ b/mkdumprd >@@ -1516,6 +1516,13 @@ kdump_chk() > cleanup_and_exit 1 > } > >+# test if fence_kdump is configured in Pacemaker cluster >+is_pcs_fence_kdump() >+{ >+ [ -x /usr/sbin/fence_kdump_send ] || return 1 >+ [ -f "$CLUSTER_CONFIG_FILE" ] || return 1 >+} >+ > if [ -z "$MNTIMAGE" -o -z "$IMAGE" ]; then > error "Error creating temporaries. Try again" > cleanup_and_exit 1 >@@ -1770,7 +1777,7 @@ if [ "$DEFAULT_ACTION" == "mount_root_run_init" ];then > fi > > # handle cluster node if CLUSTER_CONFIG_FILE and fence_kudmp_send exist >-if [ -f "$CLUSTER_CONFIG_FILE" -a -e /usr/sbin/fence_kdump_send ]; then >+if is_pcs_fence_kdump; then > # get cluster nodes from CLUSTER_CONFIG_FILE, get interface and ip addresses > nodelist=`echo "xpath /cluster/clusternodes/clusternode/@name" | xmllint --shell $CLUSTER_CONFIG_FILE | grep content | cut -d'=' -f2` > for node in ${nodelist}; do >-- >1.8.3.1 >
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 1083938
:
886467
|
886469
|
886470
|
886471
|
886772
|
886773
|
886774
|
886776