Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 907240

Summary: [SetupNetworks] Slaves data sent by the user is being overridden with engine's data
Product: Red Hat Enterprise Virtualization Manager Reporter: Moti Asayag <masayag>
Component: ovirt-engine-restapiAssignee: Moti Asayag <masayag>
Status: CLOSED ERRATA QA Contact: Meni Yakove <myakove>
Severity: high Docs Contact:
Priority: high    
Version: 3.2.0CC: acathrow, dyasny, iheim, italkohe, mpastern, oramraz, pep, Rhev-m-bugs, sgrinber, tdosek, ykaul
Target Milestone: ---Keywords: Regression, ZStream
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: SF7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 907573 (view as bug list) Environment:
Last Closed: 2013-06-10 21:46:18 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:
Bug Depends On:    
Bug Blocks: 907573    

Description Moti Asayag 2013-02-03 22:59:26 UTC
Description of problem:
Bug 863105 introduces a regression by loading the slaves configuration from the engine and dismissing the configuration provided by the user, notably using the SDK.

For example:

Origin configuration:
eth0 --- ovirtmgmt
eth1 --- net1
eth2 

New configuration:
eth00 --- ovirtmgmt
eth1 --|
       |---bond0 --- net1
eth2 --|

The flat interface list sent to setupNetwork by rest-api contains the 'net1' network attached both to 'et1' and to 'bond0'.

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


How reproducible:
always

Steps to Reproduce:
1. From setupNetworks dialog attach network 'net1' to eth1
2. Save network configuration (using setupNetworks)
3. Using ovirt-engine-sdk-python send setupNetworks command to configure eth1 bonded with eth2 into bond0 and attach 'net1' to it.
  
Actual results:
The command fails with error of network 'net1' is being attached to more than one interface.

Expected results:
Bond should be created with the network attached to it.

Additional info:
There are variety of errors that can be created due to the failure, i.e.
cannot reuse IP that was defined for a network (if configure using static boot protocol).

Comment 4 Meni Yakove 2013-02-14 12:53:19 UTC
Verified on rhevm-3.2.0-8.el6ev.noarch

Comment 7 errata-xmlrpc 2013-06-10 21:46:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHSA-2013-0888.html