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

Bug 1405065

Summary: upgrade-appliance: prevent any flow different than 3.6/el6 -> 4.0/el7
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Simone Tiraboschi <stirabos>
Component: ToolsAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.1.0CC: bugs
Target Milestone: ovirt-4.1.0-betaKeywords: Triaged
Target Release: 2.1.0Flags: rule-engine: ovirt-4.1+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-15 14:56:55 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:

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]: