Bug 849398 - Ovirt SDK - Can't add correlation id to HostTags
Summary: Ovirt SDK - Can't add correlation id to HostTags
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Michael Pasternak
QA Contact: Elena
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-19 06:57 UTC by Elena
Modified: 2016-02-10 19:01 UTC (History)
12 users (show)

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


Attachments (Terms of Use)

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


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