-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-9.5
-
No
-
Low
-
1
-
rhel-sst-network-management
-
ssg_networking
-
8
-
False
-
-
None
-
NMT SST - Future releases
-
-
None
-
None
-
None
What were you trying to do that didn't work?
If infiniband is attached to bond, using nmstate deletes them doesn't set IB's mtu back to the default value 4092.
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
echo " interfaces: - name: bond0 type: bond state: up ipv4: enabled: true address: - ip: 192.168.100.1 prefix-length: 24 ipv6: enabled: true address: - ip: 192:168:100::1 prefix-length: 64 link-aggregation: mode: active-backup port: - ibs2f0 - ibs2f1 - name: ibs2f0 type: infiniband state: up infiniband: base-iface: '' mode: datagram pkey: '65535' mtu: 2022 - name: ibs2f1 type: infiniband state: up infiniband: base-iface: '' mode: datagram pkey: '65535' mtu: 1999 " | nmstatectl apply echo " interfaces: - name: bond0 type: bond state: absent - name: ibs2f0 type: infiniband state: absent - name: ibs2f1 type: infiniband state: absent " | nmstatectl apply ip link show # check mtu
Expected results
IB mtu is reset to 4092
Actual results
8: ibs2f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 256
link/infiniband 00:00:03:ac:fe:80:00:00:00:00:00:00:04:3f:72:03:00:dd:2a:2c brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
altname ibp94s0f0
9: ibs2f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 256
link/infiniband 00:00:0c:65:fe:80:00:00:00:00:00:00:04:3f:72:03:00:dd:2a:2d brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
altname ibp94s0f1