Bug 1323717

Summary: os-net-config-0.2.2-1 break linux_bond working
Product: Red Hat OpenStack Reporter: Cyril Lopez <cylopez>
Component: os-net-configAssignee: Dan Prince <dprince>
Status: CLOSED ERRATA QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: urgent    
Version: 8.0 (Liberty)CC: christopher_dearborn, dsavinea, hbrock, jslagle, kbasil, mburns, mcornea, morazi, nlevinki, srevivo
Target Milestone: ga   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: os-net-config-0.2.3-1.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-15 14:31:49 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:
Bug Depends On:    
Bug Blocks: 1261979, 1310828    

Description Cyril Lopez 2016-04-04 13:38:44 UTC
Description of problem:

LACP with OVS isn't advisable. During a RCIP Hackfest we test the linux_bond to avoid it.

Is working on old puddle version os-net-config-0.2.0-1.el7ost.noarch but not with os-net-config-0.2.2-1.el7ost.noarch

Version-Release number of selected component (if applicable):
os-net-config-0.2.2-1.el7ost.noarch

How reproducible:
Install from puddle rhos-release 8   -p 2016-03-31.1 and rhos-release 8-director   -p 2016-04-01.1

Steps to Reproduce:
1. Deploy with linux_bond env https://review.openstack.org/gitweb?p=openstack/os-net-config.git;a=blob;f=etc/os-net-config/samples/linux_bond.yaml;h=566c747aeaa6b9865df87a451251b132cd4ca44f;hb=d01acefc15cebcfc5b7d808d3ed4f41cbaf8d74d
2. Deployment fail
3. Check the bond and nic ifcfg file

Actual results:
# This file is autogenerated by os-net-config
DEVICE=eno1
ONBOOT=yes
HOTPLUG=no
NM_CONTROLLED=no
BOOTPROTO=none
MTU=9000


Expected results:
# This file is autogenerated by os-net-config
DEVICE=eno1
ONBOOT=yes
HOTPLUG=no
NM_CONTROLLED=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
MTU=9000

Additional info:

To provide expected results, i run os-net-config --noop -d -c /etc/os-net-config/config-cl.json on a version os-net-config-0.2.0-1

my config : http://pastebin.test.redhat.com/362147

Comment 2 Dan Prince 2016-04-05 17:03:51 UTC
Upstream fix for this should be here:

https://review.openstack.org/#/c/301827/

Comment 5 Mike Burns 2016-04-11 15:26:49 UTC
*** Bug 1326014 has been marked as a duplicate of this bug. ***

Comment 7 nlevinki 2016-04-14 07:23:00 UTC
see comment #6
verified by customer

Comment 9 errata-xmlrpc 2016-04-15 14:31:49 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/RHBA-2016-0637.html