Bug 873546

Summary: Commands end in successful state after engine restart even if not all their associated tasks were created.
Product: Red Hat Enterprise Virtualization Manager Reporter: Yair Zaslavsky <yzaslavs>
Component: ovirt-engineAssignee: Ravi Nori <rnori>
Status: CLOSED DUPLICATE QA Contact: Elad <ebenahar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: bazulay, dyasny, hateya, iheim, lpeer, oourfali, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-30 11:01:23 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:
Bug Depends On:    
Bug Blocks: 909694    

Description Yair Zaslavsky 2012-11-06 07:19:13 UTC
Description of problem:

A command may create several tasks during its execution.
If the command created X tasks out of Y (I.E - vdsm began running X tasks, async_tasks table has X records for the command) and the command crashes, upon restart, the command ends successfully (the tasks information is being retrieved from the data center, the tasks are being polled, and when they end successfully, they cause the command to end successfully as well) 
although not all tasks for it were executed.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Yair Zaslavsky 2012-11-14 12:27:21 UTC
First patch in series:

http://gerrit.ovirt.org/#/c/9232/

Comment 7 Yair Zaslavsky 2013-06-30 11:01:23 UTC
This will be handled in async task mgr improvements.

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