Bug 1188812

Summary: Please add "brctl" to RHEL7's PXE installer images (dracut: FATAL: No 'brctl' installed)
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kundrát <jkt>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: dracut-maint-list, harald, jherrman, mbanas, mkovarik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lorax-19.6.54-1 Doc Type: Enhancement
Doc Text:
With this update, the Anaconda image created by Lorax contains the bridge-utils packages, which allow dracut's bridge command to be supported during the installation process. As a result, the brctl utility is now available during the installation, and using bridge command-line options in the Pre-Boot Execution environment (PXE) works as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 09:40:18 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:

Description Jan Kundrát 2015-02-03 18:56:20 UTC
I'm kickstarting a couple of headless servers, and I would like to preconfigure networking for OpenStack/libvirt/KVM. This implies support for bridging. Patching this ex-post through e.g. Puppet is a bit risky.

How reproducible:

1. Add any "bridge" option to a PXE boot.
2. Observe a "dracut: FATAL: No 'brctl' installed" and "dracut: Refusing to continue" failure.

The whole set of options I would like to use, in the end, is this:

ip=XYZ::ZYX:27:HOSTNAME:br0:none:9100 nameserver=NS bond=bond-te:enp3s0f0,enp3s0f1:mode=802.3ad,xmit_hash_policy=layer3+4 vlan=vlan121:bond-te bridge=br0:vlan121

That is:

- two eth interfaces with LACP bonding
- VLAN 121 over the bond-te
- this VLAN to be added as the only if to a bridge, which will be later on used by VMs

Please note that this is only about dracut's networking setup. A complementary solution would be to describe this setup over Anaconda's options in my kickstart file.

Comment 2 Harald Hoyer 2015-02-05 15:25:54 UTC
The install initramfs is composed by lorax and should probably be extended to include "brctl", which means bridge-utils have to be installed.

Comment 4 Michal Kovarik 2015-09-04 08:02:39 UTC
Verified on RHEL-7.2 Beta. Installation initrd.img contains usr/sbin/brctl

# lsinitrd initrd.img | grep brctl
cat: write error: Broken pipe
-rwxr-xr-x   1 root     root        32896 Aug 20 11:15 usr/sbin/brctl

Comment 6 errata-xmlrpc 2015-11-19 09:40:18 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.

https://rhn.redhat.com/errata/RHEA-2015-2289.html