Change in ovirt-engine[ovirt-engine-3.6]: core: Update executionContext with Steps.

tnisan at redhat.com tnisan at redhat.com
Sun Dec 6 19:48:39 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: core: Update executionContext with Steps.
......................................................................


core: Update executionContext with Steps.

When executing a command through the CommandExecutor as part of an
execution flow, the steps in the executionContext should be initialized as well.

At this particular bug a stateless VM is being powering up and a step indicating
the snapshot is being created is initialized in the context and should be passed to the
child command CreateCinderSnapshotCommand.

The proposed fix adds the initialization for steps and jobs to the
executionContext when calling createDefaultContextForTasksImpl

Change-Id: I4ee874e3da01504115e1fa2fd2e66de51d441a9d
Bug-Url: https://bugzilla.redhat.com/1270725
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/job/ExecutionHandler.java
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Maor Lipchuk: Verified
  Moti Asayag: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/49949
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4ee874e3da01504115e1fa2fd2e66de51d441a9d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list