Yair Zaslavsky has uploaded a new change for review. Change subject: core: Creating SPM task in failed state ... ......................................................................
core: Creating SPM task in failed state ... Creating SPM task in failed state in case of network error in create snapshot command Bug-Url: https://bugzilla.redhat.com/982003 Change-Id: I037f65b13eabffec39dbdc620a75c515e6ce796a Signed-off-by: Yair Zaslavsky <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateSnapshotCommand.java 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/43/16643/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateSnapshotCommand.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateSnapshotCommand.java index 5c377a0..c2bdb8b 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateSnapshotCommand.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateSnapshotCommand.java @@ -133,6 +133,9 @@ log.errorFormat( "CreateSnapshotCommand::CreateSnapshotInIrsServer::Failed creating snapshot from image id -'{0}'", getImage().getImageId()); + + AsyncTaskManager.logAndFailTaskOfCommandWithEmptyVdsmId(getAsyncTaskId(), + "Create snapshot failed at VDSM. DB task ID is " + getAsyncTaskId()); throw new VdcBLLException(VdcBllErrors.VolumeCreationError); } -- To view, visit http://gerrit.ovirt.org/16643 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I037f65b13eabffec39dbdc620a75c515e6ce796a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
