Change in ovirt-host-deploy[master]: hosted-engine: allow to deploy hosted-engine

Alon Bar-Lev alonbl at redhat.com
Thu Oct 15 22:01:17 UTC 2015


Alon Bar-Lev has submitted this change and it was merged.

Change subject: hosted-engine: allow to deploy hosted-engine
......................................................................


hosted-engine: allow to deploy hosted-engine

Allow to deploy hosted-engine from UX

If hosted engine support action is deploy:
- install/update ovirt-hosted-engine-setup
- write the hosted-engine.conf file
- start the HA services

If hosted engine action is remove:
- ensure that the HA services are disabled and stopped
- remove the HA configuration preventing issues with manual start of the
  services

If hosted engine action is none: do nothing

Notes:
- need to check that libvirt is properly (re)started
  after misc stage
- the decommissioning of the node has to be done in a separate
  component since ovirt-host-deploy is not executed when a
  host is removed from the engine.
- Hosted Engine is available only on x86_64
- The engine should prevent host removal if hosted-engine support
  is enabled on the host (supporting the possibility to move
  an host from engine1 to engine2 without having the host
  still joining the cluster running engine1)

Change-Id: Ia07992ccab2f745879c8d3d777e45b524bbdf6f8
Bug-Url: http://bugzilla.redhat.com/1200469
Signed-off-by: Sandro Bonazzola <sbonazzo at redhat.com>
---
M ChangeLog
M configure.ac
M ovirt-host-deploy-offline.spec.in
M po/POTFILES.in
M src/ovirt_host_deploy/constants.py
M src/plugins/ovirt-host-common/Makefile.am
A src/plugins/ovirt-host-common/hosted-engine/Makefile.am
A src/plugins/ovirt-host-common/hosted-engine/__init__.py
A src/plugins/ovirt-host-common/hosted-engine/configureha.py
A src/plugins/ovirt-host-common/hosted-engine/packages.py
10 files changed, 335 insertions(+), 2 deletions(-)

Approvals:
  Alon Bar-Lev: Verified; Looks good to me, approved; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia07992ccab2f745879c8d3d777e45b524bbdf6f8
Gerrit-PatchSet: 32
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak 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: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list