Bug 1413377

Summary: Break bond and create new bond at the same time fail to get applied correctly
Product: [oVirt] ovirt-engine Reporter: Mor <mkalfon>
Component: BLL.NetworkAssignee: Alona Kaplan <alkaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0CC: bugs, gklein, mburman, myakove, ylavi
Target Milestone: ovirt-4.1.1Flags: rule-engine: ovirt-4.1+
Target Release: 4.1.1.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-21 09:53:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Logs none

Description Mor 2017-01-15 14:45:22 UTC
Created attachment 1240942 [details]
Logs

Description of problem:
Trying to break existing bond and create a new one, simultaneously, from the "Setup host networks" window, results in bond break, but no new bond is created.

Version-Release number of selected component (if applicable):
oVirt Engine Version: 4.1.0-0.4.master.20170110134514.git1586fd4.el7.centos

How reproducible:
100%

Steps to Reproduce:
1. Select host, and press the "Setup Host Networks" button.
2. Create a new bond named "bond0" which consist of two NICs: eth1 and eth2.
3. Verify that is was created successfully.
4. Select the same host and try to break bond0 (created in the previous step), and simultaneously try to create a new bond named "bond1", which consist of eth3 and eth4 (two different NIC's).
5. Click OK to try and apply the changes.

Actual results:
bond0 doesn't exists, and bond1 isn't created.

Expected results:
bond1 should be created.

Additional info:
To reproduce, it is required to use host that has more then 3 NICS available to create the bondings.

Comment 1 Mor 2017-02-07 11:53:45 UTC
(In reply to Mor from comment #0)
> Created attachment 1240942 [details]
> Logs
> 
> Description of problem:
> Trying to break existing bond and create a new one, simultaneously, from the
> "Setup host networks" window, results in bond break, but no new bond is
> created.
> 
> Version-Release number of selected component (if applicable):
> oVirt Engine Version: 4.1.0-0.4.master.20170110134514.git1586fd4.el7.centos
> 
> How reproducible:
> 100%
> 
> Steps to Reproduce:
> 1. Select host, and press the "Setup Host Networks" button.
> 2. Create a new bond named "bond0" which consist of two NICs: eth1 and eth2.
> 3. Verify that is was created successfully.
> 4. Select the same host and try to break bond0 (created in the previous
> step), and simultaneously try to create a new bond named "bond1", which
> consist of eth3 and eth4 (two different NIC's).
Fix: "bond1" above should be "bond0" (as allocated automatically by the system)

> 5. Click OK to try and apply the changes.
> 
> Actual results:
> bond0 doesn't exists, and bond1 isn't created.
> 
> Expected results:
> bond1 should be created.
> 
> Additional info:
> To reproduce, it is required to use host that has more then 3 NICS available
> to create the bondings.

Comment 2 Mor 2017-02-19 11:39:18 UTC
Verified on version: Red Hat Virtualization Manager Version: 4.1.1.2-0.1.el7