Bug 853702 - Ovirt SDK: Can't add correlation id to update and delete template nic
Summary: Ovirt SDK: Can't add correlation id to update and delete template nic
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.1.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Ori Liel
QA Contact: Yaniv Kaul
URL:
Whiteboard: network, infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-02 09:09 UTC by Avi Tal
Modified: 2016-04-22 04:59 UTC (History)
10 users (show)

Fixed In Version: si18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:02:34 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Avi Tal 2012-09-02 09:09:58 UTC
Got the following ERROR after adding correlation_id to update or remove template nic:

TypeError: update() got an unexpected keyword argument 'correlation_id'
or
TypeError: delete() got an unexpected keyword argument 'correlation_id'

Comment 1 Michael Pasternak 2012-09-02 09:16:44 UTC
Ori, please go over all relevant CI items in RSDL and make sure
they are really have correlation_id header according to metadata 
you have added.

Comment 2 Ori Liel 2012-09-02 13:42:12 UTC
Looks like more than just correlation-id probelm, the sigantures: 

- name: /api/templates/{template:id}/nics/{nic:id}|rel=delete
- name: /api/templates/{template:id}/nics/{nic:id}|rel=update

were completely missing from .yaml metadata file. 

patch posted upstream, http://gerrit.ovirt.org/#/c/7676/

Comment 3 Ori Liel 2012-09-05 11:35:51 UTC
patch posted upstream (http://gerrit.ovirt.org/#/c/7676) and merged: 

  commit 9279ee30b42cab7202dc7a43326fb9c1367f4cd2

patch posted downstream: https://gerrit.eng.lab.tlv.redhat.com/#/c/1848/   (awaiting approval)

Comment 4 Ori Liel 2012-09-06 13:23:05 UTC
merged downstream, 

  commit 5c7cc9e46e98d1679e213be359d2eb872e564078

Comment 5 Avi Tal 2012-09-19 09:09:07 UTC
Verify on SI18 - PASS


Note You need to log in before you can comment on or make changes to this bug.