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 1009376 - anaconda-ks.cfg doesn't contain proper bonding configuration
Summary: anaconda-ks.cfg doesn't contain proper bonding configuration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.5
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Radek Vykydal
QA Contact: Release Test Team
URL:
Whiteboard:
: 1003864 (view as bug list)
Depends On:
Blocks: 972747
TreeView+ depends on / blocked
 
Reported: 2013-09-18 10:15 UTC by Alexander Todorov
Modified: 2014-10-14 06:39 UTC (History)
6 users (show)

Fixed In Version: anaconda-13.21.217-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 06:39:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda.ifcfg.log (7.14 KB, text/plain)
2013-09-18 10:17 UTC, Alexander Todorov
no flags Details
anaconda.log (30.54 KB, text/plain)
2013-09-18 10:18 UTC, Alexander Todorov
no flags Details
anaconda.program.log (55.51 KB, text/plain)
2013-09-18 10:18 UTC, Alexander Todorov
no flags Details
anaconda.storage.log (223.10 KB, text/plain)
2013-09-18 10:18 UTC, Alexander Todorov
no flags Details
anaconda.syslog (92.75 KB, text/plain)
2013-09-18 10:18 UTC, Alexander Todorov
no flags Details
anaconda.xlog (28.88 KB, text/plain)
2013-09-18 10:18 UTC, Alexander Todorov
no flags Details
anaconda.yum.log (42.13 KB, text/plain)
2013-09-18 10:19 UTC, Alexander Todorov
no flags Details
a patch with fix (1.07 KB, patch)
2014-05-06 13:13 UTC, Radek Vykydal
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1380 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2014-10-14 01:10:50 UTC

Description Alexander Todorov 2013-09-18 10:15:17 UTC
One of our test cases uses bonding configuration and the resulting ks.cfg is not the same as the one passed to anaconda.

Version-Release number of selected component (if applicable):
anaconda-13.21.206-1.el6.x86_64
RHEL6.5-20130913.0

Steps to Reproduce: 
 1. Obtain a machine with two Ethernet ports connected to an Ethernet switch


 1. Start kickstart installation of the system 
 2. Ensure that kickstart contains
      + network --bootproto=dhcp --device=bond0 --bondslaves=eth0,eth1 --bondopts=mode=balance-rr,arp_interval=100,arp_ip_target=ddd.ddd.ddd.ddd


where ddd.ddd.ddd.ddd is the IP address of the default GW for the network. 

 3. Ensure that bond has been set up properly during installation in %post

 4. Also check bond setup on  the installed system



Expected results:
 1. Installation should pass without errors
 2. Bond has been properly set up either during the installation and on the
    installed system

 3. After system is installed check network statement in /root/anaconda-ks.cfg,
    it should contain all channel bonding specific options specified in the
    original ks.


This contains:
 
network --onboot yes --device bond0 --mtu=1500 --bootproto dhcp
network --onboot yes --device eth0 --noipv4 --noipv6
network --onboot yes --device eth1 --noipv4 --noipv6



You can check above mentioned setup by inspecting:

  * /sys/class/net/bond0/bonding/slaves - should contain

    eth0,eth1

  * /sys/class/net/bond0/bonding/mode should contain
    balance-rr and/or 0

  * /sys/class/net/bond0/bonding/arp_interval should contain 100
  * /sys/class/net/bond0/bonding/arp_ip_target should contain ddd.ddd.ddd.ddd


^^^^ this was all correct on the installed system.

Comment 1 Alexander Todorov 2013-09-18 10:17:37 UTC
Created attachment 799280 [details]
anaconda.ifcfg.log

Comment 2 Alexander Todorov 2013-09-18 10:18:00 UTC
Created attachment 799281 [details]
anaconda.log

Comment 3 Alexander Todorov 2013-09-18 10:18:18 UTC
Created attachment 799282 [details]
anaconda.program.log

Comment 4 Alexander Todorov 2013-09-18 10:18:33 UTC
Created attachment 799284 [details]
anaconda.storage.log

Comment 5 Alexander Todorov 2013-09-18 10:18:41 UTC
Created attachment 799287 [details]
anaconda.syslog

Comment 6 Alexander Todorov 2013-09-18 10:18:57 UTC
Created attachment 799292 [details]
anaconda.xlog

Comment 7 Alexander Todorov 2013-09-18 10:19:19 UTC
Created attachment 799295 [details]
anaconda.yum.log

Comment 8 Radek Vykydal 2013-09-24 07:52:15 UTC
*** Bug 1003864 has been marked as a duplicate of this bug. ***

Comment 9 RHEL Program Management 2013-10-14 02:05:59 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 11 Radek Vykydal 2014-05-06 13:13:36 UTC
Created attachment 892861 [details]
a patch with fix

Updates image for testing with the patch can be applied to rhel 6.5 by adding

udpates=http://rvykydal.fedorapeople.org/updates.1009376bondgenks.img

installer boot option.

Comment 14 errata-xmlrpc 2014-10-14 06:39:36 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-1380.html


Note You need to log in before you can comment on or make changes to this bug.