Bug 1271518

Summary: [Old SetupNetworks API] cannot attach network to BOND
Product: [oVirt] ovirt-engine Reporter: Meni Yakove <myakove>
Component: BLL.NetworkAssignee: Martin Mucha <mmucha>
Status: CLOSED CURRENTRELEASE QA Contact: Ori Ben Sasson <obensass>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bazulay, bugs, danken, gklein, ncredi, obensass, ylavi
Target Milestone: ovirt-3.6.1Keywords: Automation, Regression
Target Release: 3.6.1Flags: rule-engine: ovirt-3.6.z+
rule-engine: blocker+
ylavi: Triaged+
ylavi: planning_ack+
rule-engine: devel_ack+
myakove: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-16 12:17:00 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
engine, vdsm and supervdsm logs none

Description Meni Yakove 2015-10-14 08:16:26 UTC
Created attachment 1082726 [details]
engine, vdsm and supervdsm logs

Description of problem:
Using old SetupNetwork API when attaching network the BOND the operation fail with error "Interface name can't be found"

Version-Release number of selected component (if applicable):
rhevm-3.6.0-0.18.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create VLAN network on DC/Cluster
2. Attach the VLAN network the host NIC using old SetupNetworks API

Additional info:
In vdsm log:
call setupNetworks with ({u'net1': {u'nic': u'bond0'
, u'STP': u'no', u'bridged': u'true', u'mtu': u'1500'}}, {u'bond0': {u'remove': u'true'}}, {u'connectivityCheck': u'true', u'connectivityTimeout': 60}) {}

seems like engine send {u'bond0': {u'remove': u'true'}} to the BOND that the network should attach to.

Comment 1 Meni Yakove 2015-10-14 08:20:00 UTC
Steps to Reproduce:
1. Create network on DC/Cluster
2. Attach the network the host NIC using old SetupNetworks API

Removed the VLAN network from Steps to Reproduce.

Comment 2 Meni Yakove 2015-10-14 08:21:43 UTC
vdsm-4.17.8-1.el7ev.noarch

Comment 3 Dan Kenigsberg 2015-10-21 10:15:41 UTC
Smells like bug 1271524.

Comment 4 Red Hat Bugzilla Rules Engine 2015-10-21 10:16:47 UTC
This bug is not marked for z-stream, yet the milestone is for a z-stream version, therefore the milestone has been reset.
Please set the correct milestone or add the z-stream flag.

Comment 5 Yaniv Lavi 2015-10-29 12:42:22 UTC
In oVirt testing is done on single release by default. Therefore I'm removing the 4.0 flag. If you think this bug must be tested in 4.0 as well, please re-add the flag. Please note we might not have testing resources to handle the 4.0 clone.

Comment 6 Ori Ben Sasson 2015-12-06 13:45:28 UTC
Verified  on 3.6.1.1-0.1.el6

Comment 7 Sandro Bonazzola 2015-12-16 12:17:00 UTC
According to verification status and target milestone this issue should be fixed in oVirt 3.6.1. Closing current release.