This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 1645689 - [RFE] NetworkManager implementation for os-net-config
Summary: [RFE] NetworkManager implementation for os-net-config
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: os-net-config
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: Alpha
: ---
Assignee: Dan Sneddon
QA Contact: Eran Kuris
URL:
Whiteboard:
: 1972756 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-02 21:07 UTC by Dan Sneddon
Modified: 2023-12-06 20:16 UTC (History)
24 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-06 20:15:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
RDO 17626 0 None None None 2019-01-23 15:07:34 UTC
Red Hat Bugzilla 1555013 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 1612503 0 unspecified CLOSED [RFE] Support OVS-DPDK ports, bonds, and user bridges 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1614700 1 None None None 2023-08-14 11:17:04 UTC
Red Hat Bugzilla 1643763 0 unspecified CLOSED ppp package spit for ifup-ppp/network-scripts does not correctly obsolete older package versions, resulting in dropping ... 2021-10-17 20:57:08 UTC
Red Hat Bugzilla 1645703 1 None None None 2021-01-22 14:09:14 UTC
Red Hat Bugzilla 1645717 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 1652653 0 unspecified CLOSED [RFE] support routing rules in NetworkManager for policy-routing 2021-08-30 13:18:26 UTC
Red Hat Bugzilla 1660250 0 high CLOSED Cannot start OVS bridge with nmstate - drop NM.connection.uuid 2023-04-24 08:33:18 UTC
Red Hat Bugzilla 1663932 0 medium CLOSED [RFE] NetworkManager should support deleting OVS controllers on restart 2021-08-17 17:17:57 UTC
Red Hat Bugzilla 2001563 1 high CLOSED [RFE] rx_queue support for OVS-DPDK configuration 2023-05-24 09:09:30 UTC
Red Hat Bugzilla 2001774 1 None None None 2022-03-10 14:09:30 UTC
Red Hat Bugzilla 2001792 1 unspecified CLOSED Unable to set ip address for the ovs-user-bridge 2023-05-30 08:21:56 UTC
Red Hat Bugzilla 2001851 1 unspecified CLOSED Unable to set the MTU for the OVS-DPDK ports 2023-06-17 07:42:30 UTC
Red Hat Bugzilla 2003976 1 urgent CLOSED [RFE] Support OVS-DPDK in nmstate 2023-06-02 08:02:59 UTC
Red Hat Bugzilla 2003983 1 None None None 2022-03-10 14:09:30 UTC
Red Hat Bugzilla 2003989 1 None None None 2022-03-10 14:09:30 UTC
Red Hat Bugzilla 2003991 1 unspecified CLOSED [RFE] Support for devlink commands 2022-12-22 20:58:00 UTC
Red Hat Bugzilla 2004006 1 high CLOSED [RFE] Support for VLAN and QOS ID in SRIOV-VF via nmstate 2023-10-15 11:27:42 UTC
Red Hat Bugzilla 2004029 1 medium CLOSED [RFE] Add an CLI to get the names of Virtual functions 2022-12-22 20:57:32 UTC
Red Hat Bugzilla 2022321 1 unspecified CLOSED support for del-controller in ovs-bridges 2022-03-23 02:11:12 UTC
Red Hat Issue Tracker NFV-2453 0 None None None 2022-03-15 15:45:07 UTC
Red Hat Issue Tracker   OSP-2554 0 None None None 2023-12-06 20:15:30 UTC
Red Hat Issue Tracker OSP-30686 0 None None None 2023-12-06 20:16:51 UTC

Internal Links: 1645703 1645717

Description Dan Sneddon 2018-11-02 21:07:04 UTC
Description of problem:
The network init-scripts (including ifcfg files in /etc/sysconfig/network-scripts) are deprecated in favor of NetworkManager. In order to migrate away from init-scripts in os-net-config, we need to support a NetworkManager implementation in addition to the ifcfg implementation.

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

Actual results:
Currently all interface configuration is done in ifcfg files, and additionally there is a script to configure SR-IOV virtual functions at boot time. os-net-config also has support for ethtool commands and ovs-vsctl commands for OVS. 

Expected results:
In order to switch to a NetworkManager implementation, we will use an interface to NetworkManager such as nmcli, nmstate, or Ansible Networking. Additionally, NetworkManager will have to have feature parity for interface types supported by os-net-config.

Additional info:
Most of the interface types are supported in NetworkManager, but we should confirm support in NetworkManager for the following device types:

OVS bonds
OVS patches (internal patches between bridges)
OVS tunnel ports
OVS User bridge (DPDK bridge)
OVS DPDK ports
OVS DPDK bonds
Infiniband network interfaces
VPP interfaces
VPP bonds
Contrail vRouter
Contrail vRouter DPDK
Big Switch IVS bridges
Big Switch NFVSwitch bridges (DPDK)
Big Switch NFVSwitch ports (DPDK)
Big Switch NFVSwitch internal patches (DPDK)

In addition, SR-IOV VF virtual functions are recently supported in NetworkManager, but we should confirm wheter the os-net-config SR-IOV configuration script that gets run by systemd is required when using NetworkManager to manage SR-IOV VFs.

Comment 1 Dan Sneddon 2018-11-02 21:23:56 UTC
It appears that OVS bond support was added at the same time OVS bridge support was added: https://bugzilla.redhat.com/show_bug.cgi?id=1555015

Support for ethtool options is being added:
https://bugzilla.redhat.com/show_bug.cgi?id=1335409
https://bugzilla.redhat.com/show_bug.cgi?id=1614700

Support for OVS DPDK ports in progress:
https://bugzilla.redhat.com/show_bug.cgi?id=1612503

Infiniband interfaces and bonds are currently supported:
https://bugzilla.redhat.com/show_bug.cgi?id=1339008

Comment 2 Dan Sneddon 2018-11-02 21:43:28 UTC
Created RFE for OVS patch ports and OVS tunnels:
https://bugzilla.redhat.com/show_bug.cgi?id=1645703

Comment 3 Dan Sneddon 2018-11-02 23:20:13 UTC
Created RFE for supporting VPP interfaces and bonds in NetworkManager:
https://bugzilla.redhat.com/show_bug.cgi?id=1645717

Note that VPP config doesn't use ifcfg files, but instead uses /var/lib/os-net-config/dpdk_mapping.yaml and /etc/vpp/vpp-exec files to configure VPP interfaces. Because of that, it isn't clear if NetworkManager needs to support VPP directly, or if os-net-config can continue to write DPDK/VPP configuration to these files when we implement NetworkManager support.

Comment 4 Dan Sneddon 2019-01-08 21:36:41 UTC
(In reply to Dan Sneddon from comment #3)
> Created RFE for supporting VPP interfaces and bonds in NetworkManager:
> https://bugzilla.redhat.com/show_bug.cgi?id=1645717

While VPP is supported in os-net-config, we have never supported VPP in OpenStack Platform. For that reason, I think VPP support in NetworkManager is not a priority for OpenStack at this time.

Comment 5 Bob Fournier 2019-01-23 15:07:35 UTC
network-scripts has been included for os-net-config here - https://review.rdoproject.org/r/#/c/17626/.

Comment 6 Dan Sneddon 2020-03-20 17:21:36 UTC
Additional ethtool options are required for NetworkManager support for OpenStack Platform. Specifically -C and -G are required to set coalesce and ring settings.

Comment 7 pweeks 2021-06-17 11:31:29 UTC
*** Bug 1972756 has been marked as a duplicate of this bug. ***

Comment 11 spower 2022-10-28 10:23:22 UTC
This will need to go through the exception TRAC process to be be included in 17.1

Comment 25 Gris Ge 2023-07-12 14:42:13 UTC
Hi Karthik,

I have created these bugs to track the dedicate features:
 * Bug 2222284 - [RFE] Support third party interface
 * Bug 2222289 - [RFE] Support OVS SR-IOV TC Hardware Offload

We will provide demo for both feature for you to try out.


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