Bug 1133279

Summary: Adding networks to an Iscsi Bond will remove all the other existing networks in this IscsiBond and replace them with the new added network
Product: [Retired] oVirt Reporter: Maor <mlipchuk>
Component: ovirt-engine-apiAssignee: Maor <mlipchuk>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4CC: acanan, amureini, ecohen, gklein, iheim, oliel, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.4.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-3.4.4_rc Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-24 08:08:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1154674    

Description Maor 2014-08-24 08:00:30 UTC
Description of problem:
Add a network to an Iscsi Bond, will remove all the other existing networks in this IscsiBond and replace them with the new added network

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


How reproducible:
100%

Steps to Reproduce:
1. In the Rest 
  a. use POST method
  b. With the following Content-Type: application/xml
  c. Call the  following API: .../ovirt-engine/api/datacenters/{Guid}/iscsibonds/{Guid}/netowrks
  d. Send the following network to be added : <network>{Guid}</network>
2.
3.

Actual results:
All the IscsiBond's Networks will be removed and only the new network will be assigned to the IscsiBond

Expected results:
The network should be added to the already existing networks

Additional info:

Comment 1 Maor 2014-08-24 09:29:10 UTC
Correction for step 1.d. The network should be added as so:
<network id="48f8bb67-1d47-411c-a96a-0c6db1372cc3"></network>

Comment 2 Allon Mureinik 2014-08-24 11:25:15 UTC
Maor - let's make sure we backport this to ovirt-engine-3.5 AND ovirt-engine-3.4 after its merged in upstream's master.

Comment 3 Sandro Bonazzola 2014-09-24 08:08:51 UTC
oVirt 3.4.4 has been released.