Description of problem: During CLI deployment the user is asked for the Engine VM FQDN (for the first time) at the 'VM configuration' phase : """ Please provide the FQDN you would like to use for the engine appliance. Note: This will be the FQDN of the engine VM you are now going to launch, it should not point to the base host or to any other existing machine. Engine VM FQDN: (leave it empty to skip): []: """ If the user leave it empty and the deployment continues, he can assume the FQDN is not needed to be provided anymore. But at the 'Hosted Engine Configuration' phase the user is asked for the FQDN again: """ Please provide the FQDN for the engine you would like to use. This needs to match the FQDN that you will use for the engine installation within the VM. Note: This will be the FQDN of the VM you are now going to create, it should not point to the base host or to any other existing machine. Engine FQDN: []: """ This time, the user cannot skip this question and need to provide the Engine FQDN. The reason we ask the user twice is: first question ('vm configuration' phase) is at cloud-init level, which can be skipped since DHCP can provide it. second question ('hosted engine configuration' phase) is for signing of the engine's CERT. If the first question is answered by the user the second will not appear. In conclusion, the user MUST provide the engine FQDN at some point, so asking it twice is confusing and not necessary. it should be asked once. How reproducible: 100% Steps to Reproduce: 1. run hosted-engine --deploy via CLI 2. do not provide any FQDN at the first 'vm configuration' phase 3. see that you are asked to provide the FQDN one more time and the 'hosted engine configuration' phase Actual results: asked to provide FQDN twice Expected results: asked only once
Please provide the FQDN you would like to use for the engine appliance. Note: This will be the FQDN of the engine VM you are now going to launch, it should not point to the base host or to any other existing machine. Engine VM FQDN: []: [ ERROR ] Host name is not valid: Please specify host FQDN Please provide the FQDN you would like to use for the engine appliance. Note: This will be the FQDN of the engine VM you are now going to launch, it should not point to the base host or to any other existing machine. Engine VM FQDN: []: There is no other option now, other than to provide FQDN, as it can't be skipped, moving to verified. Works for me on these components: rhvm-appliance-4.2-20180410.0.el7.noarch ovirt-hosted-engine-setup-2.2.16-1.el7ev.noarch ovirt-hosted-engine-ha-2.2.10-1.el7ev.noarch Linux 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux Server release 7.5 (Maipo)
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.