Maor Lipchuk has posted comments on this change.
Change subject: core: LSM - rollback on non-running VM
......................................................................
Patch Set 2: (2 inline comments)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/lsm/LiveMigrateDiskCommand.java
Line 33:
Line 34: public LiveMigrateDiskCommand(T parameters) {
Line 35: super(parameters);
Line 36:
Line 37: if (VMStatus.Up != getVm().getstatus()) {
Please add a log here
Line 38: internalEndFailure();
Line 39: return;
Line 40: }
Line 41:
Line 138: public VdcActionType getActionType() {
Line 139: return super.getActionType();
Line 140: }
Line 141:
Line 142: protected void internalEndFailure() {
I would change the name to handleWhenVmStatusIsNotUp, to prevent confusion
Line 143: if (isEndSuccessfully()) {
Line 144: getParameters().incrementExecutionIndex();
Line 145: }
Line 146: getParameters().setTaskGroupSuccess(false);
--
To view, visit http://gerrit.ovirt.org/8998
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I7aafc5cd63f961470124c984afb2e7a9d74a0de2
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches