-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.2.0
-
NetworkManager-1.45.91-1.el9
-
None
-
Critical
-
ZStream
-
1
-
rhel-sst-network-management
-
ssg_networking
-
26
-
1
-
-
False
-
-
None
-
NMT - RHEL 8.10/9.4 DTM 24
-
Approved Blocker
-
-
Pass
-
None
-
-
x86_64
-
None
What were you trying to do that didn't work?
The bridge CNI have an option to disable default VLAN option using preserveDefaultVlan. So it will not have the default VLAN ID for these interfaces created with preserveDefaultVlan: false :
# bridge -d vlan show port vlan-id enp1s0 1 PVID Egress Untagged state forwarding mcast_router 1 2-4094 state forwarding mcast_router 1 br1 1 PVID Egress Untagged state forwarding mcast_router 1 vethd18fb08a 100 PVID Egress Untagged <== state forwarding mcast_router 1 vethc2a532c4 100 PVID Egress Untagged <== state forwarding mcast_router 1
However while doing the reapply, Network Manager is replacing the user mentioned PVID with 1:
# nmcli device reapply br1
Connection successfully reapplied to device 'br1'.
# bridge -d vlan show
port vlan-id
enp1s0 1 PVID Egress Untagged
state forwarding mcast_router 1
2-4094
state forwarding mcast_router 1
br1 1 PVID Egress Untagged
state forwarding mcast_router 1
vethd18fb08a 1 PVID Egress Untagged <===
state forwarding mcast_router 1
100 Egress Untagged
state forwarding mcast_router 1
vethc2a532c4 1 PVID Egress Untagged <===
state forwarding mcast_router 1
100 Egress Untagged
state forwarding mcast_router 1
Since the traffic from the Pod will be untagged and the tagging will be done at the bridge level, this disconnects the POD from the network since the untagged frames will be tagged with 1 instead of 100.
Please provide the package NVR for which bug is seen:
NetworkManager-1.42.2-8.el9_2.x86_64
How reproducible:
100%
Steps to reproduce
1. Add the VLAN:
# bridge vlan add vid 100 pvid egress untagged dev vethc2a532c4 # bridge vlan show br1 |grep -A 3 vethc2a532c4 vethc2a532c4 100 PVID Egress Untagged
2. Do nm reaply and check the vlan assignment again:
# nmcli device reapply br1
Connection successfully reapplied to device 'br1'.
# bridge vlan show br1 |grep -A 3 vethc2a532c4
vethc2a532c4 1 PVID Egress Untagged
100 Egress Untagged
Expected results
device-reapply is adding back default vlan as PVID
Actual results
It should preserve the user mentioned configuration.
- links to
-
RHBA-2023:120156 NetworkManager bug fix and enhancement update
- mentioned on