Bug 1376114 - [TEXT][HE] Warn on addition of new HE host via host-deploy
Summary: [TEXT][HE] Warn on addition of new HE host via host-deploy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 4.0.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.1.0-alpha
: ---
Assignee: Rafael Martins
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks: 1378111
TreeView+ depends on / blocked
 
Reported: 2016-09-14 17:35 UTC by Marina Kalinin
Modified: 2017-04-25 01:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1378111 (view as bug list)
Environment:
Last Closed: 2017-04-25 01:03:40 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1002 0 normal SHIPPED_LIVE ovirt-hosted-engine-setup bug fix and enhancement update 2017-04-18 20:14:37 UTC
oVirt gerrit 64160 0 master MERGED storage: added deprecation warning to additional host setup 2016-09-20 07:22:30 UTC
oVirt gerrit 64171 0 ovirt-hosted-engine-setup-2.0 MERGED storage: added deprecation warning to additional host setup 2016-09-21 14:23:27 UTC

Description Marina Kalinin 2016-09-14 17:35:43 UTC
Starting 4.0, the only method to deploy additional hosted-engine hosts to an existing RHV HE deployment should be via RHV UI only, see bz#1255230.

`hosted-engine --deploy`  is not used any more and not being tested.
That's why we should prevent users using it and running into errors.

Block this option or add a warning to it, saying that web UI should be used for this operation. Running it at user's own risk and not supported.

Comment 2 Rafael Martins 2016-09-19 14:49:52 UTC
(In reply to Marina from comment #0)
> Starting 4.0, the only method to deploy additional hosted-engine hosts to an
> existing RHV HE deployment should be via RHV UI only, see bz#1255230.
> 
> `hosted-engine --deploy`  is not used any more and not being tested.
> That's why we should prevent users using it and running into errors.
> 
> Block this option or add a warning to it, saying that web UI should be used
> for this operation. Running it at user's own risk and not supported.

Just for the record, `hosted-engine --deploy` is still used to deploy the initial host, so the block/warning should happen only when a host is already deployed.

Comment 3 Doron Fediuck 2016-09-20 13:54:09 UTC
(In reply to Rafael Martins from comment #2)
> (In reply to Marina from comment #0)
> > Starting 4.0, the only method to deploy additional hosted-engine hosts to an
> > existing RHV HE deployment should be via RHV UI only, see bz#1255230.
> > 
> > `hosted-engine --deploy`  is not used any more and not being tested.
> > That's why we should prevent users using it and running into errors.
> > 
> > Block this option or add a warning to it, saying that web UI should be used
> > for this operation. Running it at user's own risk and not supported.
> 
> Just for the record, `hosted-engine --deploy` is still used to deploy the
> initial host, so the block/warning should happen only when a host is already
> deployed.

This should also be used for emergencies and automation so we cannot completely block it but we can advise against using this unless there's a good reason for it.

Comment 5 Nikolai Sednev 2016-12-06 10:20:09 UTC
I've tried to add additional hosted-engine-host using hosted-engine --deploy on additional host and got this warning:

[WARNING] Setup of additional hosts using this software is deprecated and will be removed in 4.1. Please use the engine web interface to deploy any additional hosts.
          The specified storage location already contains a data domain. Is this an additional host setup (Yes, No)[Yes]? 

Works for me on these components:
qemu-kvm-rhev-2.6.0-28.el7_3.1.x86_64
vdsm-4.18.18-1.el7ev.x86_64
ovirt-setup-lib-1.0.2-1.el7ev.noarch
ovirt-imageio-common-0.3.0-0.el7ev.noarch
sanlock-3.4.0-1.el7.x86_64
ovirt-vmconsole-1.0.4-1.el7ev.noarch
mom-0.5.8-1.el7ev.noarch
rhev-release-4.0.6-4-001.noarch
ovirt-hosted-engine-ha-2.0.6-1.el7ev.noarch
ovirt-host-deploy-1.5.3-1.el7ev.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7ev.noarch
ovirt-imageio-daemon-0.4.0-0.el7ev.noarch
libvirt-client-2.0.0-10.el7.x86_64
ovirt-vmconsole-host-1.0.4-1.el7ev.noarch
rhevm-appliance-20161116.0-1.el7ev.noarch
ovirt-hosted-engine-setup-2.0.4.1-2.el7ev.noarch
Linux version 3.10.0-514.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Wed Oct 19 11:24:13 EDT 2016
Linux 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.3 (Maipo)


Note You need to log in before you can comment on or make changes to this bug.