Hide Forgot
Description of problem: Per https://bugzilla.redhat.com/show_bug.cgi?id=1862047 , when the interface attached to an ovs bridge, marking it as 'state: ignore' doesn't work, it will be removed from kernel. In NM connection of dummy0, 'connection.master' targets to 'ovs-port-dummy0', an 'ovs port', not ovsbr0 itself. Version-Release number of selected component (if applicable): nmstate-1.0.2-5.el8.noarch nispor-1.0.1-4.el8.x86_64 NetworkManager-1.30.0-4.el8.x86_64 How reproducible: 100% Steps to Reproduce: echo "interfaces: - name: dummy0 type: dummy state: up - name: ovsbr0 type: ovs-bridge state: up bridge: port: - name: dummy0 - name: ovs0" | nmstatectl set - echo "interfaces: - name: dummy0 type: dummy state: ignore - name: ovsbr0 type: ovs-bridge state: up bridge: port: - name: ovs0" | nmstatectl set - ip link show dummy0 #Device "dummy0" does not exist. Actual results: dummy0 is removed Expected results: hold dummy0 under ovsbr0 Additional info:
Upstream PR: https://github.com/nmstate/nmstate/pull/1681
Verified with versions: nmstate-1.1.0-3.el8.noarch nispor-1.1.1-1.el8.x86_64 NetworkManager-1.32.4-1.el8.x86_64
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 (nmstate bug fix and enhancement update), 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/RHBA-2021:4157