Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1377778

Summary: Change HE cluster name will fail upgrade-appliance
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Artyom <alukiano>
Component: ToolsAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0.2.2CC: bugs, dfediuck, mavital, ylavi
Target Milestone: ovirt-4.0.5Keywords: Triaged
Target Release: 2.0.3Flags: rule-engine: ovirt-4.0.z+
ylavi: planning_ack+
sbonazzo: devel_ack+
mavital: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 07:38:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1379964    
Attachments:
Description Flags
he setup log none

Description Artyom 2016-09-20 15:04:43 UTC
Created attachment 1202936 [details]
he setup log

Description of problem:
Change HE cluster name will fail upgrade-appliance

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-2.0.2.2-2.el7ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Deploy hosted-engine 3.6 on two 3.6 hosts
2. Upgrade hosts to 4.0
3. Change cluster name where HE host placed
4. Install new rhevm-appliance on host where run HE VM
5. Enable Global maintenance
6. Run hosted-engine --upgrade-appliance

Actual results:
2016-09-20 15:21:42 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-upgradeappliance/engine/misc.py", line 400, in _wait_datacenter_up
    id=cluster_broker.get_data_center().get_id()
AttributeError: 'NoneType' object has no attribute 'get_data_center'

Expected results:
Upgrade of the appliance pass without any troubles

Additional info:

Comment 1 Artyom 2016-10-05 14:26:22 UTC
Verified on ovirt-hosted-engine-setup-2.0.3-2.el7ev.noarch