Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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-2020:4696
Description of problem: Cannot change ovs option when ovsdb plugin is enabled Version-Release number of selected component (if applicable): nmstate-0.3.4-10.el8.noarch NetworkManager-1.26.0-3.el8.x86_64 DISTRO=RHEL-8.3.0-20200811.0 Linux hp-dl388g8-04.rhts.eng.pek2.redhat.com 4.18.0-232.el8.x86_64 #1 SMP Mon Aug 10 06:55:47 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux openvswitch-selinux-extra-policy-1.0-22.el8fdp.noarch openvswitch2.13-2.13.0-39.el8fdp.x86_64 python3-openvswitch2.13-2.13.0-39.el8fdp.x86_64 How reproducible: 100% Steps to Reproduce: # cat ovsbr-with-port.yaml --- interfaces: - name: ovs-br0 type: ovs-bridge state: up bridge: port: - name: ovs0 1. nmstatectl set ovsbr-with-port.yaml 2. nmstatectl show 3. nmstatectl show ovs-br0 | sed 's/mcast-snooping-enable: false/mcast-snooping-enable: true/' | nmstatectl set Actual results: Failed Expected results: No failure Additional info: [00:16:20@hp-dl388g8-04 ~]0# nmstatectl show ovs-br0 | sed 's/mcast-snooping-enable: false/mcast-snooping-enable: true/' | nmstatectl set 2020-08-18 00:16:29,202 root DEBUG Async action: Create checkpoint started 2020-08-18 00:16:29,208 root DEBUG Checkpoint None created for all devices 2020-08-18 00:16:29,208 root DEBUG Async action: Create checkpoint finished 2020-08-18 00:16:29,211 root DEBUG Async action: Update profile: ovs-br0 started 2020-08-18 00:16:29,215 root DEBUG Async action: Update profile: ovs-br0 finished 2020-08-18 00:16:29,215 root DEBUG Async action: Reapply device config: ovs-br0 started 2020-08-18 00:16:29,218 root DEBUG Device reapply failed on ovs-br0: error=nm-device-error-quark: Can't reapply any changes to 'ovs-bridge' setting (3) Fallback to device activation 2020-08-18 00:16:29,219 root DEBUG Async action: Activate profile: ovs-br0 started 2020-08-18 00:16:29,222 root DEBUG Connection activation initiated: dev=ovs-br0, con-state=<enum NM_ACTIVE_CONNECTION_STATE_ACTIVATING of type NM.ActiveConnectionState> 2020-08-18 00:16:29,242 root DEBUG Connection activation succeeded: dev=ovs-br0, con-state=<enum NM_ACTIVE_CONNECTION_STATE_ACTIVATING of type NM.ActiveConnectionState>, dev-state=<enum NM_DEVICE_STATE_IP_CONFIG of type NM.DeviceState>, state-flags=<flags NM_ACTIVATION_STATE_FLAG_IS_MASTER | NM_ACTIVATION_STATE_FLAG_LAYER2_READY | NM_ACTIVATION_STATE_FLAG_MASTER_HAS_SLAVES of type NM.ActivationStateFlags> 2020-08-18 00:16:29,243 root DEBUG Async action: Activate profile: ovs-br0 finished 2020-08-18 00:16:29,244 root DEBUG Async action: Rollback to checkpoint /org/freedesktop/NetworkManager/Checkpoint/8 started 2020-08-18 00:16:29,252 root DEBUG Checkpoint /org/freedesktop/NetworkManager/Checkpoint/8 rollback executed 2020-08-18 00:16:29,252 root DEBUG Interface eno4 rollback succeeded 2020-08-18 00:16:29,252 root DEBUG Interface ens6f2 rollback succeeded 2020-08-18 00:16:29,252 root DEBUG Interface ens6f3 rollback succeeded 2020-08-18 00:16:29,252 root DEBUG Interface eno3 rollback succeeded 2020-08-18 00:16:29,253 root DEBUG Async action: Waiting for rolling back ovs0 started 2020-08-18 00:16:29,253 root DEBUG Interface ovs0 rollback succeeded 2020-08-18 00:16:29,253 root DEBUG Async action: Waiting for rolling back ovs-port-ovs0 started 2020-08-18 00:16:29,253 root DEBUG Interface ovs-port-ovs0 rollback succeeded 2020-08-18 00:16:29,253 root DEBUG Interface veth0 rollback succeeded 2020-08-18 00:16:29,253 root DEBUG Interface veth0_ep rollback succeeded 2020-08-18 00:16:29,253 root DEBUG Interface veth1_ep rollback succeeded 2020-08-18 00:16:29,253 root DEBUG Interface veth2 rollback succeeded 2020-08-18 00:16:29,253 root DEBUG Interface veth2_ep rollback succeeded 2020-08-18 00:16:29,253 root DEBUG Interface ens2f1 rollback succeeded 2020-08-18 00:16:29,253 root DEBUG Interface eno1 rollback succeeded 2020-08-18 00:16:29,254 root DEBUG Interface eno2 rollback succeeded 2020-08-18 00:16:29,254 root DEBUG Async action: Waiting for rolling back ovs-br0 started 2020-08-18 00:16:29,254 root DEBUG Interface ovs-br0 rollback succeeded 2020-08-18 00:16:29,254 root DEBUG Interface veth1 rollback succeeded 2020-08-18 00:16:29,254 root DEBUG Interface lo rollback succeeded 2020-08-18 00:16:29,254 root DEBUG Interface ens6f0 rollback succeeded 2020-08-18 00:16:29,254 root DEBUG Interface ens2f0 rollback succeeded 2020-08-18 00:16:29,254 root DEBUG Interface ens6f1 rollback succeeded 2020-08-18 00:16:29,254 root DEBUG Async action: Rollback to checkpoint /org/freedesktop/NetworkManager/Checkpoint/8 finished 2020-08-18 00:16:29,260 root DEBUG Active connection of device None has been replaced 2020-08-18 00:16:29,261 root DEBUG Connection activation succeeded: dev=ovs-br0, con-state=<enum NM_ACTIVE_CONNECTION_STATE_ACTIVATING of type NM.ActiveConnectionState>, dev-state=<enum NM_DEVICE_STATE_IP_CONFIG of type NM.DeviceState>, state-flags=<flags NM_ACTIVATION_STATE_FLAG_IS_MASTER | NM_ACTIVATION_STATE_FLAG_LAYER2_READY of type NM.ActivationStateFlags> 2020-08-18 00:16:29,262 root DEBUG Async action: Waiting for rolling back ovs-br0 finished 2020-08-18 00:16:29,262 root DEBUG Active connection of device None has been replaced 2020-08-18 00:16:29,266 root DEBUG Connection activation succeeded: dev=ovs-port-ovs0, con-state=<enum NM_ACTIVE_CONNECTION_STATE_ACTIVATING of type NM.ActiveConnectionState>, dev-state=<enum NM_DEVICE_STATE_IP_CONFIG of type NM.DeviceState>, state-flags=<flags NM_ACTIVATION_STATE_FLAG_IS_MASTER | NM_ACTIVATION_STATE_FLAG_IS_SLAVE | NM_ACTIVATION_STATE_FLAG_LAYER2_READY of type NM.ActivationStateFlags> 2020-08-18 00:16:29,266 root DEBUG Async action: Waiting for rolling back ovs-port-ovs0 finished 2020-08-18 00:16:29,271 root DEBUG Active connection of device None has been replaced 2020-08-18 00:16:29,478 root DEBUG Connection activation succeeded: dev=ovs0, con-state=<enum NM_ACTIVE_CONNECTION_STATE_ACTIVATED of type NM.ActiveConnectionState>, dev-state=<enum NM_DEVICE_STATE_ACTIVATED of type NM.DeviceState>, state-flags=<flags NM_ACTIVATION_STATE_FLAG_IS_SLAVE | NM_ACTIVATION_STATE_FLAG_LAYER2_READY | NM_ACTIVATION_STATE_FLAG_IP4_READY | NM_ACTIVATION_STATE_FLAG_IP6_READY of type NM.ActivationStateFlags> 2020-08-18 00:16:29,479 root DEBUG Async action: Waiting for rolling back ovs0 finished Traceback (most recent call last): File "/usr/bin/nmstatectl", line 11, in <module> load_entry_point('nmstate==0.3.4', 'console_scripts', 'nmstatectl')() File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 67, in main return args.func(args) File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 267, in apply args.save_to_disk, File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 289, in apply_state save_to_disk=save_to_disk, File "/usr/lib/python3.6/site-packages/libnmstate/netapplier.py", line 71, in apply _apply_ifaces_state(plugins, net_state, verify_change, save_to_disk) File "/usr/lib/python3.6/site-packages/libnmstate/netapplier.py", line 104, in _apply_ifaces_state plugin.apply_changes(net_state, save_to_disk) File "/usr/lib/python3.6/site-packages/libnmstate/plugins/nmstate_plugin_ovsdb.py", line 219, in apply_changes self._db_write(pending_changes) File "/usr/lib/python3.6/site-packages/libnmstate/plugins/nmstate_plugin_ovsdb.py", line 235, in _db_write f"BUG: row {new_rows} does not exists in OVS DB " libnmstate.error.NmstatePluginError: BUG: row {'ovs-br0'} does not exists in OVS DB and currently we don't create new row