-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
rhel-9.5
-
No
-
Moderate
-
1
-
rhel-net-mgmt
-
ssg_networking
-
5
-
False
-
False
-
-
None
-
NMT SST - Future releases
-
-
None
-
None
-
None
What were you trying to do that didn't work?
Creating IB in nmstate failed when IB interface's NM connection existed, while the desired state were actually written into the connection.
After deleting the NM connection, it works.
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
nmstate-2.2.35-1.el9.x86_64
NetworkManager-1.48.10-2.el9_5.x86_64
How reproducible is this bug?:
100%
Steps to reproduce
nmcli con add connection.id ibs2f0 \ type infiniband \ autoconnect false \ connection.interface-name ibs2f0 \ infiniband.transport-mode datagram \ ipv4.method auto \ ipv6.addr-gen-mode eui64 \ ipv6.method auto nmcli con add connection.id ibs2f1 \ type infiniband \ autoconnect false \ connection.interface-name ibs2f1 \ infiniband.transport-mode datagram \ ipv4.method auto \ ipv6.addr-gen-mode eui64 \ ipv6.method auto echo " routes: config: - destination: 192.168.199.0/24 metric: 199 next-hop-address: 192.168.100.199 next-hop-interface: ibs2f0 table-id: 199 - destination: 192:168:199::/64 metric: 199 next-hop-address: 192:168:100::199 next-hop-interface: ibs2f0 table-id: 199 interfaces: - name: ibs2f0 type: infiniband state: up infiniband: base-iface: '' mode: datagram pkey: '65535' ipv4: enabled: true address: - ip: 192.168.100.1 prefix-length: 24 ipv6: enabled: true address: - ip: 192:168:100::1 prefix-length: 64 mtu: 2000 - name: ibs2f1 type: infiniband state: up infiniband: base-iface: '' mode: datagram pkey: '65535' " | nmstatectl apply
Expected results
Actual results
[2024-09-18T05:43:36Z INFO nmstatectl] Nmstate version: 2.2.35 [2024-09-18T05:43:36Z INFO nmstate::query_apply::net_state] Created checkpoint /org/freedesktop/NetworkManager/Checkpoint/2 [2024-09-18T05:43:36Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("5965bd5f-65f5-4e1e-b9f8-412684050c55"), ID Some("ibs2f0"), type Some(Infiniband) name Some("ibs2f0") [2024-09-18T05:43:36Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("892845dd-21b7-4418-8da2-29cd4ab03d25"), ID Some("ibs2f1"), type Some(Infiniband) name Some("ibs2f1") [2024-09-18T05:43:36Z INFO nmstate::nm::query_apply::profile] Activating connection 5965bd5f-65f5-4e1e-b9f8-412684050c55: ibs2f0/infiniband [2024-09-18T05:43:36Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:43:37Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:43:37Z INFO nmstate::nm::query_apply::profile] Will retry activation 2 seconds [2024-09-18T05:43:39Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:43:39Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:43:39Z INFO nmstate::nm::query_apply::profile] Will retry activation 4 seconds [2024-09-18T05:43:43Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:43:43Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:43:43Z INFO nmstate::nm::query_apply::profile] Will retry activation 8 seconds [2024-09-18T05:43:51Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:43:51Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:43:51Z INFO nmstate::nm::query_apply::profile] Will retry activation 16 seconds [2024-09-18T05:44:07Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:44:07Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:44:07Z INFO nmstate::nm::query_apply::profile] Will retry activation 32 seconds [2024-09-18T05:44:39Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:44:39Z INFO nmstate::query_apply::net_state] Retrying on: Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:44:41Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("5965bd5f-65f5-4e1e-b9f8-412684050c55"), ID Some("ibs2f0"), type Some(Infiniband) name Some("ibs2f0") [2024-09-18T05:44:41Z INFO nmstate::nm::query_apply::profile] Modifying connection UUID Some("892845dd-21b7-4418-8da2-29cd4ab03d25"), ID Some("ibs2f1"), type Some(Infiniband) name Some("ibs2f1") [2024-09-18T05:44:41Z INFO nmstate::nm::query_apply::profile] Reapplying connection 5965bd5f-65f5-4e1e-b9f8-412684050c55: ibs2f0/infiniband [2024-09-18T05:44:41Z INFO nmstate::nm::query_apply::profile] Reapplying connection 5965bd5f-65f5-4e1e-b9f8-412684050c55: ibs2f0/infiniband [2024-09-18T05:44:41Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:44:41Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:44:41Z INFO nmstate::nm::query_apply::profile] Will retry activation 2 seconds [2024-09-18T05:44:43Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:44:43Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:44:43Z INFO nmstate::nm::query_apply::profile] Will retry activation 4 seconds [2024-09-18T05:44:47Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:44:47Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:44:47Z INFO nmstate::nm::query_apply::profile] Will retry activation 8 seconds [2024-09-18T05:44:55Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:44:55Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:44:55Z INFO nmstate::nm::query_apply::profile] Will retry activation 16 seconds [2024-09-18T05:45:11Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:45:11Z INFO nmstate::nm::query_apply::profile] Got activation failure Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)). [2024-09-18T05:45:11Z INFO nmstate::nm::query_apply::profile] Will retry activation 32 seconds [2024-09-18T05:45:43Z INFO nmstate::nm::query_apply::profile] Activating connection 892845dd-21b7-4418-8da2-29cd4ab03d25: ibs2f1/infiniband [2024-09-18T05:45:44Z INFO nmstate::query_apply::net_state] Rollbacked to checkpoint /org/freedesktop/NetworkManager/Checkpoint/2 NmstateError: Bug: Manager(UnknownDevice): No suitable device found for this connection (device eno1 not available because profile is not compatible with device (mismatching interface name)).