Bug 1413690

Summary: bonding parameters are removed each time an undercloud operation is executed
Product: Red Hat OpenStack Reporter: David Hill <dhill>
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED DUPLICATE QA Contact: Arik Chernetsky <achernet>
Severity: high Docs Contact:
Priority: high    
Version: 9.0 (Mitaka)CC: bfournie, bschmaus, cllewellyn, dhill, dsneddon, jslagle, mburns, mlammon, pneedle, rhel-osp-director-maint
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-03 17:50:58 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 David Hill 2017-01-16 16:48:11 UTC
Description of problem:

After an update or fresh install, the bond mode defaults to round-robin which causes configured port channel  in  switches to go down. 

Would it be possible to add a bonding configuration within the undercloud.conf file in order to prevent this from happening?

IE:

Each time the following command are executed:
 openstack undercloud install
 openstack undercloud upgrade

The following line disappear:
BONDING_OPTS="mode=802.3ad ad_select=bandwidth lacp_rate=fast xmit_hash_policy=layer2+3 miimon=100"


Version-Release number of selected component (if applicable):
All

How reproducible:
Always

Steps to Reproduce:
1. Configure bond
2. Run openstack undercloud install

Actual results:
Bond breaks

Expected results:
Bond shouldn't break

Additional info:

Comment 1 Benjamin Schmaus 2017-01-30 13:17:11 UTC
Any update on this and when and if we might see fixed?

Comment 5 James Slagle 2017-05-30 21:40:49 UTC
(In reply to David Hill from comment #0)
> Description of problem:
> 
> After an update or fresh install, the bond mode defaults to round-robin
> which causes configured port channel  in  switches to go down. 
> 
> Would it be possible to add a bonding configuration within the
> undercloud.conf file in order to prevent this from happening?
> 
> IE:
> 
> Each time the following command are executed:
>  openstack undercloud install
>  openstack undercloud upgrade
> 
> The following line disappear:
> BONDING_OPTS="mode=802.3ad ad_select=bandwidth lacp_rate=fast
> xmit_hash_policy=layer2+3 miimon=100"

From what file does this line disappear? Is it an interface config file under /etc/sysconfig/network-scripts? If so, is os-net-config managing that interface?

If it is, then it's expected behavior that os-net-config regenerates those files when the undercloud commands are run.

How is the line getting there in the first place? I'm not sure it's even possible to represent these bonding options for an undercloud install.

Comment 9 Bob Fournier 2017-08-01 14:55:20 UTC
This is as expected as the undercloud does not support bonding - see the future feature request here: https://bugzilla.redhat.com/show_bug.cgi?id=1385041.  

The undercloud is expecting that there exists a single interface used for provisioning.

Comment 10 Bob Fournier 2017-09-03 17:50:58 UTC
Marking this as a duplicate to the bug tracking bonding in the undercloud so that updates and status can be kept on one place.

*** This bug has been marked as a duplicate of bug 1385041 ***