Change in ovirt-engine[ovirt-engine-4.0]: core: Set hosted engine maintenance mode to none after upgrade

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Thu Sep 8 13:32:02 UTC 2016


Piotr Kliczewski has submitted this change and it was merged.

Change subject: core: Set hosted engine maintenance mode to none after upgrade
......................................................................


core: Set hosted engine maintenance mode to none after upgrade

When upgrading hosted engine host, the engine first moves it
to maintenance mode in the engine and sets local maintenance
to true on the host itself.
After finishing the upgrade the engine sets the host status to
up but doesn't change the local maintenance status of the host.
This fix sets the local maintenance to false after upgrade if the
host is a hosted engine host.

Change-Id: I48f193b99dc8e71aef7e36532d36c551f9927ecd
Bug-Url: https://bugzilla.redhat.com/1370907
Signed-off-by: Jenny Tokar <jtokar at redhat.com>
(cherry picked from commit aa05b05)
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ActivateVdsCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/UpgradeHostInternalCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostedengine/HostedEngineHelper.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
M backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
5 files changed, 38 insertions(+), 8 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Roy Golan: Looks good to me, approved
  Jenny Tokar: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I48f193b99dc8e71aef7e36532d36c551f9927ecd
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Jenny Tokar <jtokar at redhat.com>
Gerrit-Reviewer: Andrej Krejcir <akrejcir at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Jenny Tokar <jtokar at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Phillip Bailey <phbailey at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Yanir Quinn <yquinn at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list