Bug 1260430

Summary: REST | old SetupNetworks API | NPE when attaching network to host NIC
Product: Red Hat Enterprise Virtualization Manager Reporter: Meni Yakove <myakove>
Component: ovirt-engineAssignee: Alona Kaplan <alkaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Meni Yakove <myakove>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: alkaplan, danken, gklein, lsurette, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rcKeywords: Automation, AutomationBlocker, Regression
Target Release: 3.6.0Flags: ylavi: Triaged+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:34:02 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-09-06 19:38:22 UTC
Description of problem:
Get NPE when attaching network to host NIC via REST with the ols SetupNetworks API


Status: 500
Reason: Internal Server Error
Detail: [General command validation failure.]


Version-Release number of selected component (if applicable):
rhevm-3.6.0-0.13.master.el6.noarch
vdsm-4.17.5-1.el7ev.noarch

How reproducible:


Steps to Reproduce:
1. Attach network via REST using old SetupNetworks api <host_id>/<nics>/<setupnetworks>


Actual results:
Get NPE

Expected results:
Network attached to host NIC

Additional info:
using the new SetupNetworks API works

Comment 1 Meni Yakove 2015-09-06 19:38:56 UTC
Created attachment 1070778 [details]
engine, vdsm and supervdsm logs

Comment 2 Meni Yakove 2015-09-06 19:42:15 UTC
Correlation-Ids with the errors:
host_nics_syncAction_c312cfd3-aa41-4a02
host_nics_syncAction_a26dfe34-7423-422f
host_nics_syncAction_ee40454f-d23b-43e4
host_nics_syncAction_c0102dcf-9830-4970
host_nics_syncAction_be6ff5e7-68fd-4b55
host_nics_syncAction_3ee1f9d0-0951-4574
host_nics_syncAction_443e8eea-3883-4a8a