[node-patches] Change in ovirt-node[ovirt-3.5]: net: Use a VM compatible bond mode by default

fabiand at redhat.com fabiand at redhat.com
Mon Jan 4 10:09:44 UTC 2016


Fabian Deutsch has uploaded a new change for review.

Change subject: net: Use a VM compatible bond mode by default
......................................................................

net: Use a VM compatible bond mode by default

Previously balance-rr was choosen as the default bond mode. This is
leading to problems with VM networks.
To mitigate this problem, now a non-balancing, but working bond mode is
used by default: active-backup.

Change-Id: I8b4a5e30f616cd9d9d5434738bc3a5f98d2bb719
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1233035
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1094842
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/config/defaults.py
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/87/51287/1

diff --git a/src/ovirt/node/config/defaults.py b/src/ovirt/node/config/defaults.py
index 34882b7..a93103e 100755
--- a/src/ovirt/node/config/defaults.py
+++ b/src/ovirt/node/config/defaults.py
@@ -500,7 +500,10 @@
     # Set some sane defaults if not options are diven
     # https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
     # tree/Documentation/networking/bonding.txt#n153
-    default_options = "mode=balance-rr miimon=100"
+    #
+    # By default a mode suitable for VM networks is used:
+    # https://bugzilla.redhat.com/show_bug.cgi?id=1094842
+    default_options = "mode=active-backup miimon=100"
 
     @NodeConfigFileSection.map_and_update_defaults_decorator
     def update(self, name, slaves, options):


-- 
To view, visit https://gerrit.ovirt.org/51287
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b4a5e30f616cd9d9d5434738bc3a5f98d2bb719
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list