commit ee63b3253dedaf62cc321f5b29080d7e7c459a99
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/ +/898905 /opendev. org/openstack/ kayobe/ commit/ ee63b3253dedaf6 2cc321f5b29080d 7e7c459a99
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit ee63b3253dedaf6 2cc321f5b29080d 7e7c459a99
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
Change-Id: I23366f4de7842e