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

Bug 853660

Summary: RESTAPI: unable to update host's vland interface with PUT
Product: Red Hat Enterprise Virtualization Manager Reporter: Avi Tal <atal>
Component: ovirt-engine-restapiAssignee: lpeer <lpeer>
Status: CLOSED DUPLICATE QA Contact: Yaniv Kaul <ykaul>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, ecohen, iheim, jkt, mpastern, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-02 05:15:39 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 log none

Description Avi Tal 2012-09-01 19:35:46 UTC
Created attachment 609005 [details]
engine log

Description of problem:
A regression has been made within vlan interface update API after fixing BZ#842324. Actually it is impossible to update host's vland interface.
Engine ERROR:
WARN  [org.ovirt.engine.core.bll.UpdateNetworkToVdsInterfaceCommand] (ajp-/127.0.0.1:8009-5) [5f6a6bd3] CanDoAction of action UpdateNetworkToVdsInterface failed. Reasons:NETWROK_OLD_NETWORK_NOT_SPECIFIED

PUT /api/hosts/id/nics/id 
<host_nic>
 <name>eth0.160</name>
 <network>...</network>
 ...
</host_nic>

response:
    <fault>
            <reason>Operation Failed</reason>
            <detail>[Previous network name is required.]</detail>
    </fault>

Comment 1 lpeer 2012-09-02 05:15:39 UTC

*** This bug has been marked as a duplicate of bug 853060 ***