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

Bug 1298580

Summary: [REST] Attach network with boot protocol none via setupNetworks requires ip configuration details
Product: [oVirt] ovirt-engine Reporter: Meni Yakove <myakove>
Component: BLL.NetworkAssignee: Alona Kaplan <alkaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Meni Yakove <myakove>
Severity: high Docs Contact:
Priority: medium    
Version: 3.6.2.5CC: bugs, danken, sbonazzo, ylavi
Target Milestone: ovirt-3.6.3Flags: rule-engine: ovirt-3.6.z+
rule-engine: blocker+
ylavi: planning_ack+
danken: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 11:17:25 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:

Description Meni Yakove 2016-01-14 13:31:08 UTC
Description of problem:
Since rhevm-3.6.2.5-0.1 version attaching a network to host NIC via REST setupNetworks command requires boot protocol configuration even when the desired boot protocol is none.

Till now when no boot protocol was sent the default was none.
This breaks backward compatibility for existing scripts. 

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


Steps to Reproduce:
1. Call setupNetworks via REST to attach network to host NIC without <ip_address_assignments>

Actual results:
The operation fails with error Network attachment of Network net1, Interface enp4s0f1 is missing IP configuration details.

Expected results:
Network is attached with boot protocol None

Comment 1 Dan Kenigsberg 2016-01-17 12:37:39 UTC
This was the planned behaviour of the patches fixing bug 1270688.

We wanted to force the users of the API to state which IP config they would like to give to the network attachment.

Now that we realize that this has broken your scripts, we may reconsider.

Comment 2 Dan Kenigsberg 2016-01-20 09:07:58 UTC
All right, let us induldge pm+qe.

Comment 3 Meni Yakove 2016-01-31 13:39:17 UTC
rhevm-3.6.3-0.1.el6.noarch