Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 874529

Summary: kdump doesn't work properly with nic that has "-" in it's name
Product: Red Hat Enterprise Linux 6 Reporter: Anton Kalgashkin <mudrykaa>
Component: kexec-toolsAssignee: Dave Young <ruyang>
Status: CLOSED ERRATA QA Contact: Qiao Zhao <qzhao>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2CC: bhe, ccui, gbai, kdump-team-bugs, mudrykaa, qcai, ruyang
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: kexec-tools-2.0.0-276.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 07:08:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Small patch none

Description Anton Kalgashkin 2012-11-08 11:42:59 UTC
Created attachment 640741 [details]
Small patch

Description of problem:

Kdump which is configured to copy vmcore on the remote server via SSH doesn't set  network up if it has a bond interface with slave that has "-" symbol in its name. Mkdumprd copies network scripts (from /etc/sysconfig/network-scripts/) into $MNTDIR/etc directory with theirs original names. Then it uses script's name to get device's name in this way:

for i in `ls /etc/ifcfg-*`
do
   NETDEV=`echo $i | cut -d"-" -f2`
   map_interface $NETDEV
done

I have an interface named "gige-11-1". So I will get "gige", insdead of "gige-11-1" and network will not work (kdump will not be able to copy vmcore on the remote server). 

Version-Release number of selected component (if applicable):
kexec-tools-2.0.0-209.el6_2.5.x86_64 (RHEL 6.2)

How reproducible:
100%

Steps to Reproduce:
1. Make bond interface with 2 slaves ("gige-11-0" and "gige-11-1")
2. Configure kdump to copy vmcore via ssh on the remote host.
3. echo "c" > /proc/sysrq-trigger
  
Actual results:

Remote host is unreachable. Network doesn't work properly.

Expected results:

Vmcore has been copied.

Additional info:

Small patch in attachment

Comment 2 RHEL Program Management 2012-12-14 08:06:33 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Anton Kalgashkin 2013-07-29 08:57:28 UTC
Hi, Dave,

The patch was sent to kdump list.

Best wishes,
Anton

Comment 5 Dave Young 2013-07-30 03:09:35 UTC
Hi, Anton

Thanks for the patch, but since the list is only for internal use. We will take the patch and repost it, sorry about it.

Dave

Comment 10 errata-xmlrpc 2014-10-14 07:08:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1502.html