Bug 1006762 - Adding job with auto_cleared false, not working correct
Summary: Adding job with auto_cleared false, not working correct
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Eli Mesika
QA Contact: Tareq Alayan
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-11 09:05 UTC by Artyom
Modified: 2016-02-10 19:19 UTC (History)
9 users (show)

Fixed In Version: is17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 19144 0 None None None Never

Description Artyom 2013-09-11 09:05:37 UTC
Description of problem:
Adding job via rest:
<job>
<description>Test_JOB</description>
<auto_cleared>false</auto_cleared>
</job>
Create new job, but <auto_cleared>true</auto_cleared>

Also if you add job without auto_cleared flag, it also create job with <auto_cleared>true</auto_cleared>

<job>
<description>Test_JOB</description>
</job>

Version-Release number of selected component (if applicable):
is13

How reproducible:
Always

Steps to Reproduce:
1. See above
2.
3.

Actual results:
job with 
<auto_cleared>true</auto_cleared>


Expected results:
job with 
<auto_cleared>false</auto_cleared>

Additional info:
Line from engine log:
[org.ovirt.engine.core.bll.AddExternalJobCommand] (ajp-/127.0.0.1:8702-4) Running command: AddExternalJobCommand internal: false. Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa Type: System

Comment 1 Eli Mesika 2013-09-17 20:58:07 UTC
fixed in commit: 9cc75fe

Comment 2 Tareq Alayan 2013-10-09 12:46:07 UTC
verified

post:
<job>
<description>Test_JOB</description>
<auto_cleared>false</auto_cleared>
</job>

response:

<job href= "/api/jobs/b7810220-16c7-4a9f-8a19-ad18944e4eab" id="b7810220-16c7-4a9f-8a19-ad18944e4eab">
<actions>
<link href= "/api/jobs/b7810220-16c7-4a9f-8a19-ad18944e4eab/clear" rel="clear"/>
<link href= "/api/jobs/b7810220-16c7-4a9f-8a19-ad18944e4eab/end" rel="end"/>
</actions>
<description>Test_JOB</description>
<link href= "/api/jobs/b7810220-16c7-4a9f-8a19-ad18944e4eab/steps" rel="steps"/>
<status>
<state>STARTED</state>
</status>
<owner href= "/api/users/fdfc627c-d875-11e0-90f0-83df133b58cc" id="fdfc627c-d875-11e0-90f0-83df133b58cc"/>
<start_time>2013-10-09T15:44:32.796+03:00</start_time>
<last_updated>2013-10-09T15:44:32.796+03:00</last_updated>
<external>true</external>
<auto_cleared>false</auto_cleared>
</job>

Comment 3 Itamar Heim 2014-01-21 22:21:32 UTC
Closing - RHEV 3.3 Released

Comment 4 Itamar Heim 2014-01-21 22:26:52 UTC
Closing - RHEV 3.3 Released


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