Description of problem: Adding a new hosted-engine RHEL 7 host to a 3.5.8 environment fails Version-Release number of selected component (if applicable): RHEV-M 3.5.8 RHEL 7.2 Host How reproducible: Unknown Steps to Reproduce: [root@Rhev03 ~]# hosted-engine --deploy [ INFO ] Stage: Initializing [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160513121105-xj1y8d.log Version: otopi-1.3.2 (otopi-1.3.2-1.el7ev) It has been detected that this program is executed through an SSH connection without using screen. Continuing with the installation may lead to broken installation if the network connection fails. It is highly recommended to abort the installation and run it inside a screen session using command "screen". Do you want to continue anyway? (Yes, No)[No]: Yes [ INFO ] Hardware supports virtualization [ INFO ] Bridge rhevm already created [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Stage: Environment customization --== STORAGE CONFIGURATION ==-- During customization use CTRL-D to abort. Please specify the storage you would like to use (iscsi, nfs3, nfs4)[nfs3]: iscsi Please specify the iSCSI portal IP address: 10.200.0.2 Please specify the iSCSI portal port [3260]: Please specify the iSCSI portal user: Please specify the target name (iqn.2001-05.com.equallogic:0-8a0906-709370007-60b00cf635553482-rhev1, iqn.2001-05.com.equallogic:0-8a0906-ae8190007-bfb0042730854d9f-rhevhostedengine, iqn.2001-05.com.equallogic:0-8a0906-83e370007-c160077e36857333-hostedengine) [iqn.2001-05.com.equallogic:0-8a0906-709370007-60b00cf635553482-rhev1]: iqn.2001-05.com.equallogic:0-8a0906-ae8190007-bfb0042730854d9f-rhevhostedengine The following luns have been found on the requested target: 0 - sdb - 204810MB Please specify the lun id (0) [0]: The specified storage location already contains a data domain. Is this an additional host setup (Yes, No)[Yes]? [ INFO ] Installing on additional host Please specify the Host ID [Must be integer, default: 2]: Please provide storage domain name. [hosted_storage]: Local storage datacenter name is an internal name and currently will not be shown in engine's admin UI. Please enter local datacenter name [hosted_datacenter]: --== SYSTEM CONFIGURATION ==-- [WARNING] A configuration file must be supplied to deploy Hosted Engine on an additional host. The answer file may be fetched from the first host using scp. If you do not want to download it automatically you can abort the setup answering no to the following question. Do you want to scp the answer file from the first host? (Yes, No)[Yes]: Please provide the FQDN or IP of the first host: rhev01.waketech.edu Enter 'root' user password for host rhev01.waketech.edu: [ INFO ] Answer file successfully downloaded --== NETWORK CONFIGURATION ==-- [ INFO ] Additional host deployment, firewall manager is 'iptables' The following CPU types are supported by this host: - model_SandyBridge: Intel SandyBridge Family - model_Westmere: Intel Westmere Family - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family --== HOSTED ENGINE CONFIGURATION ==-- Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]: HostedEngine2 Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: Confirm 'admin@internal' user password: [ INFO ] Stage: Setup validation [WARNING] Cannot validate host name settings, reason: resolved host does not match any of the local addresses [ ERROR ] Failed to execute stage 'Setup validation': Answer file lacks lockspace UUIDs, please use an answer file generated from the same version you are using on this additional host [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160513121211.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination answers and setup logs to follow
Did you review the documentation we have on this subject?
I have. Could you point out exactly which step of the documentation you're referring to so that I understand which point might be causing problems here? https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html-single/Installation_Guide/index.html#Installing_Additional_Hosts_to_a_Self-Hosted_Environment doesn't seem to cover this failure and I can't find any relevant KCS about [WARNING] Cannot validate host name settings, reason: resolved host does not match any of the local addresses [ ERROR ] Failed to execute stage 'Setup validation': Answer file lacks lockspace UUIDs, please use an answer file generated from the same version you are using on this additional host as the only lockspace UUIDs KCS didn't help in this instance.
See docs: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Self-Hosted_Engine_Guide/Upgrading_the_Self-Hosted_Engine_from_6_to_7.html
(In reply to Yaniv Dary from comment #5) > See docs: > https://access.redhat.com/documentation/en-US/ > Red_Hat_Enterprise_Virtualization/3.6/html/Self-Hosted_Engine_Guide/ > Upgrading_the_Self-Hosted_Engine_from_6_to_7.html https://bugzilla.redhat.com/show_bug.cgi?id=1311027#c2 https://access.redhat.com/solutions/2300331
https://bugzilla.redhat.com/show_bug.cgi?id=1337641
Since we're already in the 3.6.z lifecycle we cannot support 3.5.z addition in the above flow. This can be done by keeping a local repo of 3.5.z to ensure you do not use 3.6.z until you're ready to upgrade.