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 ovirt-hosted-engine-ha-1.3.2.1-1.el7ev.noarch ovirt-hosted-engine-setup-1.3.0-1.el7ev.noarch How reproducible: ----------------- always 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]:
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.