-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only disable mac ageing for ovs hybrid plug
The mac ageing configuration on linux bridges is now conditional and caller controlled. By default mac ageing is unspecified and will use the kernel's default of 300 seconds. For ovs with hybrid plug we override this to 0 to prevent packet loss issue during some migration edgecases. This change reverts disabling mac ageing for the linux bridge plugin which was accidentally introduced during the brctl removal via inheriting the ovs plugin's default behavior when the bridge create code became shared. Backport Changes: In the train cycle we removed the os_vif.internal.command module in Id8b71172fb06b435cf169a7e55c11233f22fa65b to eliminate one layer of indirection. As a result we need to addtionally update the add method in os_vif/internal/command/ip/__init__.py which was not required in the train patch. Change-Id: I95612352de6cdb47de98eb80c208dd1a74499d41 Closes-bug: #1837252 (cherry picked from commit 655c83d)
- Loading branch information
1 parent
c795cc1
commit ec9d543
Showing
8 changed files
with
66 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
releasenotes/notes/do-not-force-mac-ageing-c6e8d750130c5740.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
fixes: | ||
- | | ||
As part of a `bug #1715317`_, MAC ageing was disabled for the intermediate | ||
bridge created as part of the hybrid plug mechanism. During the removal | ||
of ``brctl``, this behavior was inadvertently applied to all linux bridges | ||
created by os-vif including those used in the linuxbridge driver. | ||
As a result this can lead to packet flooding (see bug #1837252) when | ||
instances are migrated. This behavior has been reverted so that the | ||
default mac ageing is determined by the kernel and is not set when using | ||
the os-vif linux bridge plugin. | ||
.. _bug #1715317: https://bugs.launchpad.net/os-vif/+bug/1837252 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters