Bug 1336950 - Error trying to add new hosted-engine RHEL 7 host to upgraded Hosted Engine cluster fails
Summary: Error trying to add new hosted-engine RHEL 7 host to upgraded Hosted Engine c...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 3.5.7
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Simone Tiraboschi
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-17 21:22 UTC by Robert McSwain
Modified: 2021-08-30 12:31 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-08 12:34:49 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-43249 0 None None None 2021-08-30 12:31:07 UTC
Red Hat Knowledge Base (Solution) 2300331 0 None None None 2016-05-19 18:40:30 UTC

Description Robert McSwain 2016-05-17 21:22:53 UTC
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

Comment 2 Yaniv Lavi 2016-05-19 11:34:05 UTC
Did you review the documentation we have on this subject?

Comment 3 Robert McSwain 2016-05-19 13:17:44 UTC
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.

Comment 6 Marina Kalinin 2016-05-19 16:51:02 UTC
(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

Comment 7 Marina Kalinin 2016-05-19 17:21:07 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1337641

Comment 10 Doron Fediuck 2016-06-08 12:34:49 UTC
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.


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