os-net-config ignore the interface VLAN on Red Hat

Bug #1518449 reported by Gonéri Le Bouder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-net-config
Fix Committed
Undecided
Gonéri Le Bouder

Bug Description

If os-net-config create an interface with a foo.xxx where xxx is a numerical value on Red Hat, it won't add the VLAN=yes parameter.
On Debian systems, the interface will be properly associated to the vlan, that's not the case on Red Hat.

A possible solution is to automatically add the VLAN=yes if the interface name match /\.[0-9]+$/.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-net-config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/248246

Changed in os-net-config:
assignee: nobody → Gonéri Le Bouder (goneri)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-net-config (master)

Reviewed: https://review.openstack.org/248246
Committed: https://git.openstack.org/cgit/openstack/os-net-config/commit/?id=f00d545041b75b5d3e215bf435689e933dbb4f62
Submitter: Jenkins
Branch: master

commit f00d545041b75b5d3e215bf435689e933dbb4f62
Author: Gonéri Le Bouder <email address hidden>
Date: Fri Nov 20 15:56:37 2015 -0500

    ifcfg: add VLAN=yes when needed

    Add the VLAN=yes parameter if the interface name is in the foo.123 format.
    This is the behavior and Debian allow the same os-net-config configuration
    file to be consistent with Red Hat systems.

    See also: https://bugzilla.redhat.com/show_bug.cgi?id=1283812

    Change-Id: Iab2a4861e2231b34899c379963abbef59cf73328
    Closes-Bug: #1518449

Changed in os-net-config:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.