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 876255 Details for
Bug 1078134
[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]
Patch 4/5
0004-Move-fence_kdump-nodes-filtering-into-separate-funct.patch (text/plain), 1.78 KB, created by
Martin Perina
on 2014-03-19 09:03:17 UTC
(
hide
)
Description:
Patch 4/5
Filename:
MIME Type:
Creator:
Martin Perina
Created:
2014-03-19 09:03:17 UTC
Size:
1.78 KB
patch
obsolete
>From da32e06cf7aadce9fb18d6271db73eb6b86d9f1d Mon Sep 17 00:00:00 2001 >From: Martin Perina <mperina@redhat.com> >Date: Fri, 14 Mar 2014 09:07:56 +0100 >Subject: [PATCH 4/5] Move fence_kdump nodes filtering into separate function > >Move fence_kdump nodes filtering (they cannot contain `hostname`) into >separate function get_list_of_nodes_to_notify. This will be also used by >generic cluster fence_kdump configuration introduced in following patch. > >Bug-Url: https://bugzilla.redhat.com/1078134 >Signed-off-by: Martin Perina <mperina@redhat.com> >--- > dracut-module-setup.sh | 27 ++++++++++++++++++++------- > 1 file changed, 20 insertions(+), 7 deletions(-) > >diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh >index 95a11f3..cfdf9e7 100755 >--- a/dracut-module-setup.sh >+++ b/dracut-module-setup.sh >@@ -415,6 +415,19 @@ kdump_check_iscsi_targets () { > } > } > >+# filter node list not to contain hostname >+get_list_of_nodes_to_notify() { >+ local nodes >+ >+ for node in $1; do >+ if [ "$node" = `hostname` ]; then >+ continue >+ fi >+ nodes="$nodes $node" >+ done >+ >+ echo "$nodes" >+} > > # setup fence_kdump in cluster > # setup proper network and install needed files >@@ -431,14 +444,14 @@ kdump_check_fence_kdump () { > for node in ${nodelist}; do > # convert $node from 'uname="nodeX"' to 'nodeX' > eval $node >- nodename=$uname >- # Skip its own node name >- if [ "$nodename" = `hostname` ]; then >- continue >- fi >- nodes="$nodes $nodename" >+ nodes="$nodes $uname" >+ done >+ >+ nodes=$( get_list_of_nodes_to_notify "$nodes" ) > >- kdump_install_net $nodename >+ # setup network to reach each node >+ for node in ${nodes}; do >+ kdump_install_net $node > done > echo > >-- >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 1078134
:
876252
|
876253
|
876254
|
876255
|
876256
|
879449
|
879461
|
879464
|
879465
|
879466
|
879467
|
879468
|
881288
|
881289
|
881290
|
881291
|
881292
|
881293
|
882135
|
882136
|
882137
|
882138
|
882140
|
882141
|
882142