Bug 1287542 - Additional hosts setup using hosted-engine deploy script shows the wrong default value for host_ID
Summary: Additional hosts setup using hosted-engine deploy script shows the wrong defa...
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 1.3.0
Hardware: x86_64
OS: Linux
medium vote
Target Milestone: ---
: ---
Assignee: Sandro Bonazzola
QA Contact: Ilanit Stein
Depends On:
Blocks: Gluster-HC-2
TreeView+ depends on / blocked
Reported: 2015-12-02 10:16 UTC by SATHEESARAN
Modified: 2015-12-02 12:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
RHEVM 3.6 Beta1 RHEV+RHGS ( Hyperconvergence )
Last Closed: 2015-12-02 12:49:55 UTC
oVirt Team: ---
sasundar: planning_ack?
sasundar: devel_ack?
sasundar: testing_ack?

Attachments (Terms of Use)

Description SATHEESARAN 2015-12-02 10:16:37 UTC
Description of problem:
Configured hosted-engine to run on the RHEL 7.2 hypervisor.
Added one more node using additional host setup procedure of hosted-engine.
While adding the third additional host to the hosted-engine, the default value suggested for host ID was still 2

Version-Release number of selected component (if applicable):
RHEVM 3.6 beta1

How reproducible:

Steps to Reproduce:
1. Configure hosted engine to run on host1
2. add one more host to the cluster using additional host setup for hosted engine
3. After second host addition was successful, add one more node
4. This time check for default value of host ID

Actual results:
The default value of host ID remains to be 2

Expected results:
The default value of host ID should be 3

Additional info:
[ INFO  ] Installing on additional host
          Please specify the Host ID [Must be integer, default: 2]:

Comment 1 Simone Tiraboschi 2015-12-02 12:49:55 UTC
The default is 2 just because it's an additional host so it cannot be 1: it's up to user to choose.
We already check the entered value against the metadata volume but honestly I don't think it's worth to preemptively scan it to find an empty ID.
On the next release we'll have also the capability to deploy additional hosts from the engine and in that case the engine will choose for us.

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