Bug 1319878

Summary: Physical Device not detected for VLANs on Linux Bonds
Product: Red Hat OpenStack Reporter: Dan Sneddon <dsneddon>
Component: os-net-configAssignee: Dan Sneddon <dsneddon>
Status: CLOSED ERRATA QA Contact: Ofer Blaut <oblaut>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: achernet, athomas, ddomingo, hbrock, jslagle, kbasil, mburns, rhel-osp-director-maint
Target Milestone: ga   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: os-net-config-0.2.2-1.el7ost Doc Type: Bug Fix
Doc Text:
When using Linux kernel mode for bridges and bonds (as opposed to Open vSwitch), the physical device was not detected for the VLAN interfaces. This, in turn, prevented the VLAN interfaces from working correctly. With this release, the os-net-config utility automatically detects the physical interface for a VLAN as long as the VLAN is a member of the physical bridge (that is, the VLAN must be in the 'members:' section of the bridge). As such, VLAN interfaces now work properly with both OVS bridges and Linux kernel bridges.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 21:49:35 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 Dan Sneddon 2016-03-21 18:00:03 UTC
Description of problem:
When using Linux bonds along with the Big Switch 3rd-party Neutron drivers, the physical device of the bond is not properly detected. There is a workaround that involves specifying the device on the VLANs, but this only works if all nodes have the same NIC config. In instances where the nic abstractions are used, this workaround does not work.

Version-Release number of selected component (if applicable):
OSP 8 beta puddle

How reproducible:
100%

Steps to Reproduce:
1. Configure NIC templates with NIC abtractions (nic1, nic2...)
2. Deploy with Linux bonds and the Big Switch driver
3.

Actual results:
The VLANs are not detected properly as being part of the bond, and the PHYSDEV is not set properly in the config files.

Expected results:
The VLANs should be properly detected and added to the Linux bond

Additional info:
This is fixed by this upstream patch:
https://review.openstack.org/#/c/290224/

Comment 6 Mike Burns 2016-03-28 11:41:51 UTC
1 additional patch needed per Dan Sneddon

Comment 9 Ofer Blaut 2016-04-04 14:04:23 UTC
Verified code is merged in os-net-config-0.2.2-1.el7ost.noarch

Comment 12 errata-xmlrpc 2016-04-07 21:49:35 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-2016-0604.html