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
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 ***