Change in ovirt-engine[master]: host-deploy: Support deploying Hosted Engine components

rgolan at redhat.com rgolan at redhat.com
Sun May 29 19:34:36 UTC 2016


Roy Golan has submitted this change and it was merged.

Change subject: host-deploy: Support deploying Hosted Engine components
......................................................................


host-deploy: Support deploying Hosted Engine components

Till today a hosts with hosted engine components were added manually by
script on the hosts themselves. This patch will enable to install and
configure the relevant components by passing all the relevant
information from the engine.

The prerequisite for that is to have the hosted engine VM imported into
the engine. Otherwise we can't gather all the info for the installation.

So now a user can select to Deploy/Remove hosted engine agent or leave with no change(see Action)

In order to deploy an additional Hosted Engine host we need to provide
the configuration that was used by the 1st host and just assign it with
a differnt unique host_id. For that we download the configuration from a
special disk on the special domain and extract the configuration from
it. This behaviour is composed under the HostedEngineConfigFetcher.java
utility.

Wiki:
http://www.ovirt.org/develop/release-management/features/hosted-engine-add-hosts-with-web-ui/

Change-Id: I535bdfeba41b03c86520408e72abfa914fe3e1be
Bug-Url: https://bugzilla.redhat.com/1167262
Signed-off-by: Roy Golan <rgolan at redhat.com>
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/AddVdsCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/InstallVdsInternalCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/UpdateVdsCommand.java
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdeploy/VdsDeployHostedEngineUnit.java
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostedengine/HostedEngineConfigFetcher.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostedengine/HostedEngineHelper.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/HostValidator.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/UpdateHostValidator.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/hostdeploy/AddVdsCommandTest.java
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/hostedengine/HostedEngineConfigFetcherTest.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/validator/HostValidatorTest.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/validator/UpdateHostValidatorTest.java
A backend/manager/modules/bll/src/test/resources/hosted-engine-config.tar
A backend/manager/modules/bll/src/test/resources/hosted-engine.conf
A backend/manager/modules/bll/src/test/resources/not-a-valid-hosted-engine-config-tar.tar
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdsOperationActionParameters.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/hostdeploy/InstallVdsParameters.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/HostedEngineDeployConfiguration.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/EngineMessage.java
M backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
20 files changed, 771 insertions(+), 158 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Roy Golan: Verified
  Moti Asayag: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I535bdfeba41b03c86520408e72abfa914fe3e1be
Gerrit-PatchSet: 27
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Phillip Bailey <phbailey at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list