Bug 1054195

Summary: [NetworkLabels] Attaching two labeled networks to a cluster result in failure of the latter
Product: [Retired] oVirt Reporter: Moti Asayag <masayag>
Component: ovirt-engine-coreAssignee: Moti Asayag <masayag>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: high Docs Contact:
Priority: high    
Version: 3.4CC: acathrow, gklein, iheim, mpavlik, myakove, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: ovirt-3.4.0-beta2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-31 12:27:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1024889    

Description Moti Asayag 2014-01-16 12:41:24 UTC
Description of problem:
When attaching two or more labeled networks to a cluster which has a host with a matching labled interface, the first attachment of network to cluster will be configured properly on the host. During that period, the host fails to serve a sequential 'setup networks' request for configuring the other attached networks.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Label nic with 'lbl1' on host x.
2. Label networks 'red' and 'blue' with label 'lbl1'
3. Assign 'red' and 'blue' to x's cluster

Actual results:
The first network is configured properly, but the second fails with an error in the engine.log stating:

2014-01-06 18:14:59,386 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] (org.ovirt.thread.pool-6-thread-3) [518ee944] org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS, error = Resource unavailable, code = 40


Expected results:
All the networks should be properly configured on the host (if they can co-exist on a single nic)

Additional info:
The error might occur for any 2 sequential requests to the host for the sake of setup networks (i.e. assigned 2 networks which are  labeled differently to 2 host's nics which are labeled accordingly).

Comment 1 Martin Pavlik 2014-02-12 13:28:25 UTC
works with  oVirt Engine Version: 3.4.0-0.7.beta2.el6

Comment 2 Sandro Bonazzola 2014-03-31 12:27:11 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released