Bug 818248 - ovirt-engine-backend [Task Manager]: no task/step is created for create snapshot when running a stateless vm
Summary: ovirt-engine-backend [Task Manager]: no task/step is created for create snaps...
Keywords:
Status: CLOSED DUPLICATE of bug 823243
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
: 3.1.0
Assignee: Yair Zaslavsky
QA Contact: Haim
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-02 15:02 UTC by Dafna Ron
Modified: 2016-02-10 16:57 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-22 05:13:56 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log and screen shot (51.49 KB, application/x-gzip)
2012-05-02 15:02 UTC, Dafna Ron
no flags Details

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


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