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 882137 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 3/7] Rename is_fence_kdump to is_pcs_fence_kdump
0003-Rename-is_fence_kdump-to-is_pcs_fence_kdump.patch (text/plain), 2.09 KB, created by
Martin Perina
on 2014-04-03 08:10:15 UTC
(
hide
)
Description:
[PATCH 3/7] Rename is_fence_kdump to is_pcs_fence_kdump
Filename:
MIME Type:
Creator:
Martin Perina
Created:
2014-04-03 08:10:15 UTC
Size:
2.09 KB
patch
obsolete
>From 1543cc30ca937f87491875af3a1874f35c5bbea2 Mon Sep 17 00:00:00 2001 >From: Martin Perina <mperina@redhat.com> >Date: Tue, 25 Mar 2014 14:49:06 +0100 >Subject: [PATCH 3/7] Rename is_fence_kdump to is_pcs_fence_kdump > >Renames is_fence_kdump to is_pcs_fence_kdump to identify that this >method should be used to detect fence_kdump configuration only in >Pacemaker clusters. > >Bug-Url: https://bugzilla.redhat.com/1078134 >Signed-off-by: Martin Perina <mperina@redhat.com> >--- > dracut-module-setup.sh | 4 ++-- > kdump-lib.sh | 4 ++-- > kdumpctl | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh >index 0ce3885..3df71b1 100755 >--- a/dracut-module-setup.sh >+++ b/dracut-module-setup.sh >@@ -20,7 +20,7 @@ depends() { > _dep="$_dep drm" > fi > >- if is_fence_kdump; then >+ if is_pcs_fence_kdump; then > _dep="$_dep network" > fi > >@@ -421,7 +421,7 @@ kdump_check_iscsi_targets () { > # also preserve '[node list]' for 2nd kernel /etc/fence_kdump_nodes > kdump_check_fence_kdump () { > local nodes >- is_fence_kdump || return 1 >+ is_pcs_fence_kdump || return 1 > > # get cluster nodes from cluster cib, get interface and ip address > nodelist=`pcs cluster cib | xmllint --xpath "/cib/status/node_state/@uname" -` >diff --git a/kdump-lib.sh b/kdump-lib.sh >index 8de86b6..7103ba9 100755 >--- a/kdump-lib.sh >+++ b/kdump-lib.sh >@@ -27,8 +27,8 @@ strip_comments() > echo $@ | sed -e 's/\(.*\)#.*/\1/' > } > >-# Check if fence kdump is configured in cluster >-is_fence_kdump() >+# Check if fence kdump is configured in Pacemaker cluster >+is_pcs_fence_kdump() > { > # no pcs or fence_kdump_send executables installed? > type -P pcs > /dev/null || return 1 >diff --git a/kdumpctl b/kdumpctl >index 24fb988..eb6bdbc 100755 >--- a/kdumpctl >+++ b/kdumpctl >@@ -192,7 +192,7 @@ function check_fence_kdump() > local image_time=$1 > local cib_time > >- is_fence_kdump || return 1 >+ is_pcs_fence_kdump || return 1 > > cib_time=`pcs cluster cib | xmllint --xpath 'string(/cib/@cib-last-written)' - | \ > xargs -0 date +%s --date` >-- >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