Bug 1233127

Summary: [RFE] Warn when bad bond modes are used for the bond which is used for the initial VM network
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Fabian Deutsch <fdeutsch>
Component: NetworkAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: low Docs Contact:
Priority: medium    
Version: ---CC: bugs, dfediuck, didi, lsurette, lveyde, mmirecki, rmartins, sbonazzo, stirabos, ykaul, ylavi
Target Milestone: ovirt-4.2.0Keywords: FutureFeature, StudentProject, Triaged
Target Release: 2.2.0Flags: sbonazzo: ovirt-4.2?
gklein: testing_plan_complete-
rule-engine: planning_ack?
sbonazzo: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:36:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabian Deutsch 2015-06-18 09:38:56 UTC
Description of problem:
Some bond modes cause problems in VM networks, see bug 1094842.
For hosted-engine this is especially important, because a bad bond mode can break PXE booting the VM (bug 1230638).

he-setup should check the bond mode (if a bond is used) and warn the user in case that a bond mode is used, which is known to be unsafe.

Comment 1 Sandro Bonazzola 2015-06-19 09:14:53 UTC
Just for avoiding to dig into other bugs:
interfaces using bonding modes 0, 5 and 6 must fail validation when selected for creating the bridge.

Comment 2 Sandro Bonazzola 2017-04-13 06:31:13 UTC
Marcin, any check done by VDSM when creating the bridge with setupNetworks?

Comment 3 Nikolai Sednev 2017-09-28 09:30:11 UTC
Got appropriate warning message for bond type 0:
[WARNING] Bond bond0 is on mode 0, modes ('0', '5', '6') are not supported
Please indicate a nic to set ovirtmgmt bridge on: (enp3s0f1, eno1, eno2, enp3s0f0) [enp3s0f1]:

for bond type 5:
[WARNING] Bond bond0 is on mode 5, modes ('0', '5', '6') are not supported
Please indicate a nic to set ovirtmgmt bridge on: (enp3s0f1, eno1, eno2, enp3s0f0) [enp3s0f1]: 

for bond type 6:
[WARNING] Bond bond0 is on mode 6, modes ('0', '5', '6') are not supported
Please indicate a nic to set ovirtmgmt bridge on: (enp3s0f1, eno1, eno2, enp3s0f0) [enp3s0f1]: 

Tested on ovirt-hosted-engine-setup-2.2.0-0.0.master.20170919052946.git896e399.el7.centos.noarch.
Moving to verified.

Comment 4 Sandro Bonazzola 2017-12-20 11:36:48 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.