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 886470 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 3/4] Code cleanup in fence_kdump setup section
0003-Code-cleanup-in-fence_kdump-setup-section.patch (text/plain), 1.57 KB, created by
Martin Perina
on 2014-04-15 12:47:33 UTC
(
hide
)
Description:
[RHEL6.6 PATCH 3/4] Code cleanup in fence_kdump setup section
Filename:
MIME Type:
Creator:
Martin Perina
Created:
2014-04-15 12:47:33 UTC
Size:
1.57 KB
patch
obsolete
>From dda1c9306cc94e8f05a3f8209ad816b7dd272f9a Mon Sep 17 00:00:00 2001 >From: Martin Perina <mperina@redhat.com> >Date: Tue, 15 Apr 2014 13:37:43 +0200 >Subject: [RHEL6.6 PATCH 3/4] Code cleanup in fence_kdump setup section > >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 | 16 +++++++++++----- > 1 file changed, 11 insertions(+), 5 deletions(-) > >diff --git a/mkdumprd b/mkdumprd >index 1751baf..6ce9329 100644 >--- a/mkdumprd >+++ b/mkdumprd >@@ -1783,10 +1783,19 @@ if [ "$DEFAULT_ACTION" == "mount_root_run_init" ];then > add_rootfs > fi > >-# handle cluster node if CLUSTER_CONFIG_FILE and fence_kudmp_send exist >+# setup fence_kdump >+nodelist="" > if is_pcs_fence_kdump; then >- # get cluster nodes from CLUSTER_CONFIG_FILE, get interface and ip addresses >+ # fence_kdump setup for Pacemaker clusters > nodelist=$(get_pcs_cluster_nodes) >+ >+ # read fence_kdump_send options and store them to FENCE_KDUMP_OPTS >+ if [ -f "$FENCE_KDUMP_CONFIG" ]; then >+ . "$FENCE_KDUMP_CONFIG" >+ fi >+fi >+ >+if [ -n "$nodelist" ]; then > for node in ${nodelist}; do > addr=`getent hosts $node | cut -d' ' -f1` > netdev=`/sbin/ip route get to $addr 2>&1` >@@ -1808,9 +1817,6 @@ if is_pcs_fence_kdump; then > handlenetdev $netdev > echo $netdev >> $MNTIMAGE/etc/iface_to_activate > done >- if [ -f "$FENCE_KDUMP_CONFIG" ]; then >- . "$FENCE_KDUMP_CONFIG" >- fi > if [ -n "$CLUSTER_NODE_LIST" ]; then > bin="$bin /usr/sbin/fence_kdump_send" > fi >-- >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