Bug 818248

Summary: ovirt-engine-backend [Task Manager]: no task/step is created for create snapshot when running a stateless vm
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Yair Zaslavsky <yzaslavs>
Status: CLOSED DUPLICATE QA Contact: Haim <hateya>
Severity: high Docs Contact:
Priority: medium    
Version: 3.1.0CC: amureini, dyasny, hateya, iheim, lpeer, oourfali, Rhev-m-bugs, yeylon, ykaul, yzaslavs
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-22 05:13:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log and screen shot none

Description Dafna Ron 2012-05-02 15:02:00 UTC
Created attachment 581640 [details]
log and screen shot

Description of problem:

when running a stateless vm we should have a task for creating the stateless snapshot and a task for running the vm. 
currently the snapshot is not logged in the task manager. 

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

si2.1

How reproducible:

100%

Steps to Reproduce:
1. run a stateless vm
2.
3.
  
Actual results:

no task is created in task manager for snapshot creation

Expected results:

we should see a task for snapshot creation

Additional info:log

Comment 1 Yair Zaslavsky 2012-05-14 11:38:29 UTC
In RunVmCommand.statelessVmTreatment -
When invoking CreateAllSnapshotsFromVM, we should pass an execution context, and not just the compensation context , so the tasks will be created as steps of the run stateless vm job: Under the RunVm execution Step we should add new step of create snapshot which will act as parent step for the snapshot creation steps (i.e - for each createImage).
RunVm.endSuccessfuly should be extended with additional step in case of RunStatlessVm to create a step presenting running VM after snapshots are successfully created.

Comment 2 Yair Zaslavsky 2012-06-22 05:13:56 UTC

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