commit 3282cda6b152587edb55dd81649ddceb19e0c575
Author: Pierre Riteau <email address hidden>
Date: Fri Oct 20 14:51:37 2023 +0200
Fix MTU of NetworkManager bridge VLAN interfaces
We are seeing an issue on Rocky Linux 9 where VLAN interfaces on bridges
have their MTU set to MTU-1 after rebooting. This is likely related to
how MTU is set by NetworkManager for bridges: it first sets the MTU to
MTU-1 before setting it to the correct value [1].
We can work around this issue by not explicitly setting the MTU
configuration on the VLAN interface if it is the same as the parent
bridge. It will be automatically inherited from the parent.
Reviewed: https:/ /review. opendev. org/c/openstack /kayobe/ +/898917 /opendev. org/openstack/ kayobe/ commit/ 3282cda6b152587 edb55dd81649ddc eb19e0c575
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 3282cda6b152587 edb55dd81649ddc eb19e0c575
Author: Pierre Riteau <email address hidden>
Date: Fri Oct 20 14:51:37 2023 +0200
Fix MTU of NetworkManager bridge VLAN interfaces
We are seeing an issue on Rocky Linux 9 where VLAN interfaces on bridges
have their MTU set to MTU-1 after rebooting. This is likely related to
how MTU is set by NetworkManager for bridges: it first sets the MTU to
MTU-1 before setting it to the correct value [1].
We can work around this issue by not explicitly setting the MTU
configuration on the VLAN interface if it is the same as the parent
bridge. It will be automatically inherited from the parent.
[1] https:/ /gitlab. freedesktop. org/NetworkMana ger/NetworkMana ger/-/commit/ 864872e9a8c694e e7472154bf45f86 9040310b71
Closes-Bug: #2039947 7c2fe40e431fac7 6f26e9892de 2cc321f5b29080d 7e7c459a99)
Change-Id: I23366f4de7842e
(cherry picked from commit ee63b3253dedaf6