Bug 1172837

Summary: Can not create bonding on top of provisioning NIC and one other NIC
Product: Red Hat OpenStack Reporter: Kai(Kimi) Zhang <kimi.zhang>
Component: rhel-osp-installerAssignee: Mike Burns <mburns>
Status: CLOSED EOL QA Contact: Omri Hochman <ohochman>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0 (Juno)CC: chandra.s.rangavajjula, rhos-maint, sgordon, srevivo
Target Milestone: ---Keywords: ZStream
Target Release: Installer   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-29 13:31:05 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 Kai(Kimi) Zhang 2014-12-10 21:21:32 UTC
Description of problem:
Can not create bonding on top of provisioning NIC and one other NIC


Version-Release number of selected component (if applicable):
rhel-osp-installer-0.4.7-1.el6ost.noarch


How reproducible:
100% reproducible

Steps to Reproduce:
1.Create a deployment and assign a host
2.Configure networks of the host
3.Add another NIC to provision NIC to form a bonding interface

Actual results:
Generated kickstart file (eth0:provision nic, eth1:2nd nic in bond)

-----------------------------------
real=`ip -o link | grep 52:54:00:4c:73:7c | awk '{print $2;}' | sed s/://`

cat << EOF > /etc/sysconfig/network-scripts/ifcfg-$real
BOOTPROTO="dhcp"
DEVICE="$real"
HWADDR="52:54:00:4c:73:7c"
ONBOOT=yes
DEFROUTE=no
EOF




# bond0 interface
real="bond0"
cat << EOF > /etc/sysconfig/network-scripts/ifcfg-$real
BOOTPROTO="none"
DEVICE="$real"
ONBOOT=yes
PEERDNS=no
PEERROUTES=no
DEFROUTE=no
TYPE=Bond
BONDING_OPTS="miimon=100 mode=active-backup"
BONDING_MASTER=yes
NM_CONTROLLED=no
EOF



# eth1 interface
real=`ip -o link | grep 52:54:00:54:4d:ed | awk '{print $2;}' | sed s/:$//`

cat << EOF > /etc/sysconfig/network-scripts/ifcfg-$real
BOOTPROTO="none"
DEVICE="$real"
HWADDR="52:54:00:54:4d:ed"
ONBOOT=yes
PEERDNS=no
PEERROUTES=no
NM_CONTROLLED=no
MASTER=bond0
SLAVE=yes
DEFROUTE=no
EOF
-------------------


Expected results:
eth0 should be created as part of bond0.


Additional info:

Comment 3 Jaromir Coufal 2016-09-29 13:31:05 UTC
Closing list of bugs for RHEL OSP Installer since its support cycle has already ended [0]. If there is some bug closed by mistake, feel free to re-open.

For new deployments, please, use RHOSP director (starting with version 7).

-- Jaromir Coufal
-- Sr. Product Manager
-- Red Hat OpenStack Platform

[0] https://access.redhat.com/support/policy/updates/openstack/platform