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:
Created attachment 1528929 [details] patch
Planned for OSP-15.
(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.
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
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.
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
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days