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

Tal Nisan 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-h... Change-Id: I535bdfeba41b03c86520408e72abfa914fe3e1be Bug-Url: https://bugzilla.redhat.com/1167262 Signed-off-by: Roy Golan <rgolan@redhat.com> Signed-off-by: Alon Bar-Lev <alonbl@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/58261 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I535bdfeba41b03c86520408e72abfa914fe3e1be Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-4.0 Gerrit-Owner: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Moti Asayag <masayag@redhat.com> Gerrit-Reviewer: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
tnisan@redhat.com