Bug 1525854 - Upgrade appliance command fails after update of hosted-engine packages from 3.6 to 4.2
Summary: Upgrade appliance command fails after update of hosted-engine packages from 3...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Plugins.General
Version: 2.2.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Simone Tiraboschi
QA Contact: Artyom
URL:
Whiteboard:
Depends On:
Blocks: 1458709
TreeView+ depends on / blocked
 
Reported: 2017-12-14 08:29 UTC by Artyom
Modified: 2017-12-22 08:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:12:58 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+


Attachments (Terms of Use)
setup log (190.82 KB, text/plain)
2017-12-14 08:29 UTC, Artyom
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 85426 0 master ABANDONED upgrade: enforce stage ordering 2017-12-14 11:29:53 UTC
oVirt gerrit 85431 0 master MERGED upgrade: let engienapi re-ask admin password 2018-09-03 09:37:27 UTC

Description Artyom 2017-12-14 08:29:51 UTC
Created attachment 1367863 [details]
setup log

Description of problem:
Upgrade appliance command fails after update of hosted-engine packages from 3.6 to 4.2

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

How reproducible:
Always

Steps to Reproduce:
1. Deploy 3.6 hosted-engine environment with at least one host
2. Update host hosted-engine packages to 4.2
3. Run # hosted-engine --upgrade-appliance

Actual results:
2017-12-14 09:30:58,254+0200 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.gr_he_upgradeappliance.engine.misc.Plugin._check_spm
2017-12-14 09:30:58,255+0200 INFO otopi.plugins.gr_he_upgradeappliance.engine.misc misc._check_spm:170 Checking SPM status on this host
2017-12-14 09:30:58,255+0200 INFO otopi.plugins.gr_he_upgradeappliance.engine.misc engineapi.get_engine_api:53 Connecting to Engine
2017-12-14 09:31:05,727+0200 DEBUG otopi.context context._executeMethod:143 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-upgradeappliance/engine/misc.py", line 171, in _check_spm
    engine_api = engineapi.get_engine_api(self)
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/engineapi.py", line 122, in get_engine_api
    'The Engine API didn''t accept '
RuntimeError: The Engine API didnt accept the administrator password you provided

Expected results:
Upgrade appliance must ask me for engine user and password

Additional info:

Comment 1 Artyom 2017-12-19 13:11:07 UTC
Verified on ovirt-hosted-engine-setup-2.2.2-1.el7ev.noarch

Comment 2 Sandro Bonazzola 2017-12-20 11:12:58 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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