Bug 1405065 - upgrade-appliance: prevent any flow different than 3.6/el6 -> 4.0/el7
Summary: upgrade-appliance: prevent any flow different than 3.6/el6 -> 4.0/el7
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Tools
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ovirt-4.1.0-beta
: 2.1.0
Assignee: Simone Tiraboschi
QA Contact: Artyom
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-15 14:03 UTC by Simone Tiraboschi
Modified: 2019-04-28 13:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A direct upgrade of the engine from 3.6/el6 -> 4.1/el7 is not a supported while 3.6/el6 -> 4.0/el7 is; preventing all the unsupported flow.
Clone Of:
Environment:
Last Closed: 2017-02-15 14:56:55 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.1+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 68615 0 master MERGED upgrade: enforce supported path 2016-12-16 15:25:18 UTC

Description Simone Tiraboschi 2016-12-15 14:03:07 UTC
Description of problem:
The only supported flow is engine 3.6/el6 -> 4.0/el7 with the latest version of ovirt-hosted-engine-setup.
Any other flow are not going to be tested and so we should ask to the user it he wan't to proceed.

Version-Release number of selected component (if applicable):
4.1 beta

How reproducible:
100%

Steps to Reproduce:
1. deploy hosted-engine from 4.1
2. launch hosted-engine --upgrade-appliance trying to deploy 4.1 over 4.1
3.

Actual results:
The user can run hosted-engine --upgrade-appliance

Expected results:
We generate a warning and ask the user what to do


Additional info:

Comment 1 Artyom 2017-02-13 14:04:13 UTC
Verified on ovirt-hosted-engine-setup-2.1.0.2-1.el7ev.noarch

Checked the appliance upgrade from 4.0 to 4.1
Unsupported upgrade path
          This procedure has been designed and tested only for upgrading the engine VM from ['3.6'] to ['4.0'].
          Any other usage is highly experimental and potentially dangerous:
            Current engine: 4.0
            Selected appliance: 4.1.20170126.0-1.el7ev
          Do you want to abort the upgrade process? (Yes, No) [Yes]: 


and from 4.1 to 4.1
Unsupported upgrade path
          This procedure has been designed and tested only for upgrading the engine VM from ['3.6'] to ['4.0'].
          Any other usage is highly experimental and potentially dangerous:
            Current engine: 4.1
            Selected appliance: 4.1.20170126.0-1.el7ev
          Do you want to abort the upgrade process? (Yes, No) [Yes]:


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