Bug 849398

Summary: Ovirt SDK - Can't add correlation id to HostTags
Product: Red Hat Enterprise Virtualization Manager Reporter: Elena <edolinin>
Component: ovirt-engine-restapiAssignee: Michael Pasternak <mpastern>
Status: CLOSED CURRENTRELEASE QA Contact: Elena <edolinin>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: bazulay, dyasny, ecohen, hateya, iheim, mpastern, oramraz, Rhev-m-bugs, sgrinber, srevivo, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: si18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:00:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Elena 2012-08-19 06:57:51 UTC
HostTags.add(tag, correlation_id) =>
TypeError: add() got an unexpected keyword argument 'correlation_id'

This action is possible in rest api

Comment 1 Haim 2012-08-19 07:04:00 UTC
please provide RHEVM version (release).

Comment 2 Michael Pasternak 2012-08-19 07:12:18 UTC
(In reply to comment #0)
> HostTags.add(tag, correlation_id) =>
> TypeError: add() got an unexpected keyword argument 'correlation_id'
> 
> This action is possible in rest api

true, as it available on all REST create operation, but this use-case
doesn't make much sense,

Ori, please document 'correlation_id' header on [api/hosts/xxx/tags rel=add]

Comment 3 Elena 2012-08-19 07:15:30 UTC
(In reply to comment #2)

> true, as it available on all REST create operation, but this use-case
> doesn't make much sense,

we are using correlation_id in automated tests for events checking

(In reply to comment #1)
> please provide RHEVM version (release).

rhevm-sdk-3.1.0.5-1.el6ev.noarch

Comment 4 Michael Pasternak 2012-08-27 07:04:45 UTC
are you sure that attaching tag to host produce any event?

Comment 5 Oded Ramraz 2012-08-27 07:12:03 UTC
I performed the same operation from UI:
"Tag host was attached to Host(s) blue-vdsb.qa.lab.tlv.redhat.com by vdcadmin."

(In reply to comment #4)
> are you sure that attaching tag to host produce any event?

Comment 6 Elena 2012-09-02 10:03:04 UTC
rhevm-sdk-3.1.0.7-1.el6ev.noarch.rpm
Still same problem:

TypeError: add() got an unexpected keyword argument 'correlation_id'

Comment 7 Michael Pasternak 2012-09-02 12:57:38 UTC
yep, didn't get to the version, you'll get it in next drop.

Comment 9 Elena 2012-09-16 06:08:14 UTC
Verified in si18