Hide Forgot
+++ This bug was initially created as a clone of Bug #1340607 +++ Description of problem: Via REST V3 when changing vNIC interface type the vNIC network is changed to ovirtmgmt. When doing the same in REST V4 the network doesn't changed to ovirtmgmt. Version-Release number of selected component (if applicable): ovirt-engine-4.1.0-0.0.master.20160526111325.git538ad4f.el7.centos.noarch Steps to Reproduce: 1. Attach vNIC to VM with network 'net-1' and type virtio 2. Unplug the network 3. Via REST (V3) send: PUT to /ovirt-engine/api/vms/<vm_id>/nics/vnic_id <nic> <interface>e1000</interface> </nic> Actual results: --- Additional comment from Meni Yakove on 2016-05-28 13:16 EDT --- In the latest nightly the GetVmOvfByVmIdQuery NPE is gone. Now the issue is when calling on V3 : <nic> <linked>false</linked> </nic> The vNIC network is changed to random one Same for 'linked' So it's probably Network issue and not storage.
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
This happens because in V4 of the API the NIC profile is mandatory, so when a request is received to add a NIC the V3 compatibility layer tries to figure out what is the right NIC profile to use. But it does it for updates as well, which isn't correct.
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Given that this only affects incorrect requests, I believe that it isn't a blocker.
Note that comment 4 isn't accurate, this doesn't affect only incorrect requests, that comment was intended for a different bug.
rhevm-4.0.0.5-0.1.el7ev.noarch
oVirt 4.0.0 has been released, closing current release.