Bug 1674391 - add the ovs_extra parameter to ovs vlan interfaces
Summary: add the ovs_extra parameter to ovs vlan interfaces
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: os-net-config
Version: 13.0 (Queens)
Hardware: All
OS: All
high
high
Target Milestone: beta
: 15.0 (Stein)
Assignee: RHOS Maint
QA Contact: Alistair Tonner
URL:
Whiteboard:
Depends On:
Blocks: 1698032 1698036
TreeView+ depends on / blocked
 
Reported: 2019-02-11 09:05 UTC by Gyanendra Kumar
Modified: 2023-09-14 04:51 UTC (History)
8 users (show)

Fixed In Version: os-net-config-10.4.1-0.20190423124148.f73fdac.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1698032 1698036 (view as bug list)
Environment:
Last Closed: 2019-09-21 11:20:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch (3.07 KB, patch)
2019-02-11 09:35 UTC, Gyanendra Kumar
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1821816 0 None None None 2019-03-26 22:33:29 UTC
OpenStack gerrit 648287 0 None None None 2019-04-03 13:35:52 UTC
Red Hat Issue Tracker OSP-28691 0 None None None 2023-09-14 04:50:03 UTC
Red Hat Product Errata RHEA-2019:2811 0 None None None 2019-09-21 11:20:38 UTC

Description Gyanendra Kumar 2019-02-11 09:05:05 UTC
Description of problem: add the ovs_extra parameter to ovs vlan interfaces


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

OSP13
os-net-config-8.4.3-3.el7ost.noarch



How reproducible:

Steps to Reproduce:

~~~
When configuring vlan interfaces that sit on top of an openvswitch bridge, it is not possible to set ovs_extra parameters using os-net-config.  ovs_extra can be useful for setting things like static mac addresses (sometimes necessary when dealing with networking equipment that doesn't deal well with the mac address continually changing.)

Customer have attached a patch with a sample set of changes that should add the ovs_extra parameter to ovs vlan interfaces to serve as an example ( built against package os-net-config-8.4.3-3.el7ost.noarch)

Example config syntax below using new parameter:
network_config:
  -
    type: ovs_bridge
    name: br-testing
    use_dhcp: false
    members:
      -
        type: interface
        name: eth0
      -
        type: vlan
        vlan_id: 72
        addresses:
          -
            ip_netmask: 192.0.72.1/24
        ovs_extra: set interface vlan72 mac=00\:11\:22\:33\:44\:55

Sample generated ifcfg file:
File: /etc/sysconfig/network-scripts/ifcfg-vlan72

# This file is autogenerated by os-net-config
DEVICE=vlan72
ONBOOT=yes
HOTPLUG=no
NM_CONTROLLED=no
PEERDNS=no
DEVICETYPE=ovs
TYPE=OVSIntPort
OVS_BRIDGE=br-testing
OVS_OPTIONS="tag=72"
BOOTPROTO=static
IPADDR=192.0.72.1
NETMASK=255.255.255.0
OVS_EXTRA="set interface vlan72 mac=00\:11\:22\:33\:44\:55"
~~~


Actual results:


Expected results:

Please review and merged/do the necessary.


Additional info:

Comment 1 Gyanendra Kumar 2019-02-11 09:35:44 UTC
Created attachment 1528929 [details]
patch

Comment 3 Bob Fournier 2019-03-04 20:10:56 UTC
Planned for OSP-15.

Comment 10 Alistair Tonner 2019-06-19 16:51:43 UTC
(undercloud) [stack@undercloud-0 ~]$ cat /etc/rhosp-release
Red Hat OpenStack Platform release 15.0.0 Beta (Stein)

(undercloud) [stack@undercloud-0 ~]$ more core_puddle_version
RHOS_TRUNK-15.0-RHEL-8-20190614.n.1

(undercloud) [stack@undercloud-0 ~]$
(undercloud) [stack@undercloud-0 ~]$ dnf list installed os-net-config
Installed Packages
os-net-config.noarch   10.4.1-0.20190614150411.bc905bd.el8ost                  @rhelosp-15.0-trunk


Can verify python code in patches is present in installed package.

Comment 11 Freddy Wissing 2019-09-05 14:42:08 UTC
Hi, 

The customer is looking for an update on this effort.  Could we please get a summary of where this is at now?

Thank you!

/Freddy

Comment 12 Bob Fournier 2019-09-05 14:50:33 UTC
This bug tracks this support which is being delivered in OSP-15 which will be out next month.  Support was also added to OSP-14z3 (https://bugzilla.redhat.com/show_bug.cgi?id=1698032) and OSP-13z7 (https://bugzilla.redhat.com/show_bug.cgi?id=1698036) which is available now and the bugs are linked to this bug.

Comment 16 errata-xmlrpc 2019-09-21 11:20:21 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://access.redhat.com/errata/RHEA-2019:2811

Comment 17 Red Hat Bugzilla 2023-09-14 04:46:28 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.