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.
Description of problem:
A regression of https://bugzilla.redhat.com/show_bug.cgi?id=2005240
Version-Release number of selected component (if applicable):
nmstate-2.2.7-1.el9.x86_64
nispor-1.2.10-1.el9.x86_64
NetworkManager-1.42.2-1.el9.x86_64
openvswitch2.15-2.15.0-81.el9fdp.x86_64
How reproducible:
Very high
Steps to Reproduce:
ip netns add tmp
ip link add eth2 type veth peer name eth2peer
ip link add eth1 type veth peer name eth1peer
ip link set eth1 up
ip link set eth2 up
ip link set eth1peer netns tmp
ip link set eth2peer netns tmp
ip netns exec tmp ip link set eth1peer up
ip netns exec tmp ip link set eth2peer up
nmcli device set eth1 managed yes
nmcli device set eth2 managed yes
echo 'interfaces:
- link-aggregation:
mode: active-backup
options:
miimon: 140
primary: eth1
port:
- eth1
- eth2
name: bond101
state: up
type: bond
- bridge:
options:
stp: false
port:
- name: bond101
name: br22
state: up
type: ovs-bridge' | nmstatectl apply
Actual results:
[2023-03-09T04:27:48Z INFO nmstate::query_apply::net_state] Created checkpoint /org/freedesktop/NetworkManager/Checkpoint/34
[2023-03-09T04:27:48Z INFO nmstate::iface] Include interface eth2 to edit as its controller required so
[2023-03-09T04:27:48Z INFO nmstate::iface] Include interface eth1 to edit as its controller required so
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Creating connection UUID Some("7627d71d-579b-4cc9-8f1d-de799b6b58e2"), ID Some("br22-br"), type Some("ovs-bridge") name Some("br22")
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Creating connection UUID Some("26c236ce-b784-4ec4-8ea7-8cec8835e42f"), ID Some("bond101-port"), type Some("ovs-port") name Some("bond101")
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Creating connection UUID Some("54a77b64-38e6-4edd-ab89-58a0761cd107"), ID Some("bond101"), type Some("bond") name Some("bond101")
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("0f1d953c-cbb9-422a-8ebb-a56476c7a049"), ID Some("eth1"), type Some("802-3-ethernet") name Some("eth1")
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("e9de59e0-7277-470b-9d61-fdb2e2d01032"), ID Some("eth2"), type Some("802-3-ethernet") name Some("eth2")
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Activating connection 7627d71d-579b-4cc9-8f1d-de799b6b58e2: br22/ovs-bridge
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Activating connection 26c236ce-b784-4ec4-8ea7-8cec8835e42f: bond101/ovs-port
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Activating connection 54a77b64-38e6-4edd-ab89-58a0761cd107: bond101/bond
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Activating connection 0f1d953c-cbb9-422a-8ebb-a56476c7a049: eth1/802-3-ethernet
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Activating connection e9de59e0-7277-470b-9d61-fdb2e2d01032: eth2/802-3-ethernet
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Deactivating connection 0f1d953c-cbb9-422a-8ebb-a56476c7a049: eth1/802-3-ethernet
[2023-03-09T04:27:48Z INFO nmstate::nm::query_apply::profile] Deactivating connection e9de59e0-7277-470b-9d61-fdb2e2d01032: eth2/802-3-ethernet
[2023-03-09T04:27:49Z WARN nmstate::state] Bond option miss-match: bond101.interface.link-aggregation.options.primary desire '"eth1"', current 'null'
[2023-03-09T04:27:49Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: bond101.interface.link-aggregation.port desire '["eth1","eth2"]', current '[]'
[2023-03-09T04:27:50Z WARN nmstate::state] Bond option miss-match: bond101.interface.link-aggregation.options.primary desire '"eth1"', current 'null'
[2023-03-09T04:27:50Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: bond101.interface.link-aggregation.port desire '["eth1","eth2"]', current '[]'
[2023-03-09T04:27:51Z WARN nmstate::state] Bond option miss-match: bond101.interface.link-aggregation.options.primary desire '"eth1"', current 'null'
[2023-03-09T04:27:51Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: bond101.interface.link-aggregation.port desire '["eth1","eth2"]', current '[]'
[2023-03-09T04:27:52Z WARN nmstate::state] Bond option miss-match: bond101.interface.link-aggregation.options.primary desire '"eth1"', current 'null'
[2023-03-09T04:27:52Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: bond101.interface.link-aggregation.port desire '["eth1","eth2"]', current '[]'
[2023-03-09T04:27:53Z WARN nmstate::state] Bond option miss-match: bond101.interface.link-aggregation.options.primary desire '"eth1"', current 'null'
[2023-03-09T04:27:53Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: bond101.interface.link-aggregation.port desire '["eth1","eth2"]', current '[]'
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("7627d71d-579b-4cc9-8f1d-de799b6b58e2"), ID Some("br22-br"), type Some("ovs-bridge") name Some("br22")
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("26c236ce-b784-4ec4-8ea7-8cec8835e42f"), ID Some("bond101-port"), type Some("ovs-port") name Some("bond101")
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("54a77b64-38e6-4edd-ab89-58a0761cd107"), ID Some("bond101"), type Some("bond") name Some("bond101")
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("0f1d953c-cbb9-422a-8ebb-a56476c7a049"), ID Some("eth1"), type Some("802-3-ethernet") name Some("eth1")
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("e9de59e0-7277-470b-9d61-fdb2e2d01032"), ID Some("eth2"), type Some("802-3-ethernet") name Some("eth2")
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Activating connection 7627d71d-579b-4cc9-8f1d-de799b6b58e2: br22/ovs-bridge
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Activating connection 26c236ce-b784-4ec4-8ea7-8cec8835e42f: bond101/ovs-port
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Activating connection 54a77b64-38e6-4edd-ab89-58a0761cd107: bond101/bond
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Activating connection 0f1d953c-cbb9-422a-8ebb-a56476c7a049: eth1/802-3-ethernet
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Activating connection e9de59e0-7277-470b-9d61-fdb2e2d01032: eth2/802-3-ethernet
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Deactivating connection 0f1d953c-cbb9-422a-8ebb-a56476c7a049: eth1/802-3-ethernet
[2023-03-09T04:27:54Z INFO nmstate::nm::query_apply::profile] Deactivating connection e9de59e0-7277-470b-9d61-fdb2e2d01032: eth2/802-3-ethernet
[2023-03-09T04:27:54Z WARN nmstate::state] Bond option miss-match: bond101.interface.link-aggregation.options.primary desire '"eth1"', current 'null'
[2023-03-09T04:27:54Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: bond101.interface.link-aggregation.port desire '["eth1","eth2"]', current '[]'
[2023-03-09T04:27:55Z WARN nmstate::state] Bond option miss-match: bond101.interface.link-aggregation.options.primary desire '"eth1"', current 'null'
[2023-03-09T04:27:55Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: bond101.interface.link-aggregation.port desire '["eth1","eth2"]', current '[]'
[2023-03-09T04:27:56Z WARN nmstate::state] Bond option miss-match: bond101.interface.link-aggregation.options.primary desire '"eth1"', current 'null'
[2023-03-09T04:27:56Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: bond101.interface.link-aggregation.port desire '["eth1","eth2"]', current '[]'
[2023-03-09T04:27:57Z WARN nmstate::state] Bond option miss-match: bond101.interface.link-aggregation.options.primary desire '"eth1"', current 'null'
[2023-03-09T04:27:57Z INFO nmstate::query_apply::net_state] Retrying on: VerificationError: Verification failure: bond101.interface.link-aggregation.port desire '["eth1","eth2"]', current '[]'
[2023-03-09T04:27:58Z WARN nmstate::state] Bond option miss-match: bond101.interface.link-aggregation.options.primary desire '"eth1"', current 'null'
[2023-03-09T04:27:58Z INFO nmstate::query_apply::net_state] Rollbacked to checkpoint /org/freedesktop/NetworkManager/Checkpoint/34
NmstateError: VerificationError: Verification failure: bond101.interface.link-aggregation.port desire '["eth1","eth2"]', current '[]'
Expected results:
No failure
Additional info: