Red Hat Bugzilla – Bug 818248
ovirt-engine-backend [Task Manager]: no task/step is created for create snapshot when running a stateless vm
Last modified: 2016-02-10 11:57:17 EST
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):
Steps to Reproduce:
1. run a stateless vm
no task is created in task manager for snapshot creation
we should see a task for snapshot creation
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.
*** This bug has been marked as a duplicate of bug 823243 ***