Allon Mureinik has submitted this change and it was merged.

Change subject: engine : Null Pointer Exception for action 
CreateAllSnapshotsFromVm after failure in create snapshot
......................................................................


engine : Null Pointer Exception for action CreateAllSnapshotsFromVm after 
failure in create snapshot

After a failure in create snapshot, engine enters into
a loop with NullPointerException. This patch fixes the
case where the vdsm was restarted after submission of the
command and the entry in snapshots table was cleared by engine
leading to NPE in CreateAllSnapshotsFromVmCommand.

Change-Id: If89c45a236029078eae4a4254837b373c88adfd2
Bug-Url: https://bugzilla.redhat.com/982003
Signed-off-by: Ravi Nori <rn...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommand.java
1 file changed, 7 insertions(+), 3 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/17590
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If89c45a236029078eae4a4254837b373c88adfd2
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to