Moti Asayag has uploaded a new change for review. Change subject: engine: Upgrade should start when after host in maintenance ......................................................................
engine: Upgrade should start when after host in maintenance If the internal upgrade command was started, it means the host was already moved to maintenance state. Therefore, only if the upgrade command wasn't created, the status of the maintenance command should be inspected. Change-Id: Ib45faad4a3c6a18ce978e2dfd6b74948ff682c77 Signed-off-by: Moti Asayag <masa...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/HostUpgradeCallback.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/94/40894/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/HostUpgradeCallback.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/HostUpgradeCallback.java index 0e3d862..c5989fe 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/HostUpgradeCallback.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/HostUpgradeCallback.java @@ -110,7 +110,7 @@ switch (upgradeCommand.getCommandStatus()) { case ACTIVE: case NOT_STARTED: - return false; + return true; case FAILED: case FAILED_RESTARTED: -- To view, visit https://gerrit.ovirt.org/40894 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib45faad4a3c6a18ce978e2dfd6b74948ff682c77 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Moti Asayag <masa...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches