Bug 1377778 - Change HE cluster name will fail upgrade-appliance
Summary: Change HE cluster name will fail upgrade-appliance
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Tools
Version: 2.0.2.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.0.5
: 2.0.3
Assignee: Simone Tiraboschi
QA Contact: Artyom
URL:
Whiteboard:
Depends On:
Blocks: 1379964
TreeView+ depends on / blocked
 
Reported: 2016-09-20 15:04 UTC by Artyom
Modified: 2017-05-11 09:30 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-18 07:38:58 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.0.z+
ylavi: planning_ack+
sbonazzo: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
he setup log (484.28 KB, text/plain)
2016-09-20 15:04 UTC, Artyom
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 64204 0 master MERGED upgrade: avoid relying on cluster name from the answer file 2016-09-23 15:29:11 UTC
oVirt gerrit 64360 0 ovirt-hosted-engine-setup-2.0 NEW upgrade: avoid relying on cluster name from the answer file 2016-09-23 15:31:35 UTC

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


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