Bug 1371366 - [TEXT] - "Trying to upgrade from unsupported versions" is confusing
Summary: [TEXT] - "Trying to upgrade from unsupported versions" is confusing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Engine
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ovirt-4.0.5
: 4.0.5.1
Assignee: Yedidyah Bar David
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-30 04:37 UTC by Yedidyah Bar David
Modified: 2017-05-11 09:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-18 07:35:46 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.0.z+
ylavi: planning_ack+
sbonazzo: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 65134 0 master MERGED packaging: setup: Add a nicer message on too old DC/cluster 2016-10-06 07:46:20 UTC
oVirt gerrit 65153 0 ovirt-engine-4.0 MERGED packaging: setup: Add a nicer message on too old DC/cluster 2016-10-06 08:21:28 UTC
oVirt gerrit 65155 0 ovirt-engine-4.0.5 MERGED packaging: setup: Add a nicer message on too old DC/cluster 2016-10-06 08:41:54 UTC

Description Yedidyah Bar David 2016-08-30 04:37:21 UTC
Description of problem:

When running engine-setup 4.0 to upgrade a 3.6 system that has clusters/DCs with compatibility level <= 3.5, it aborts with:

Failed to execute stage 'Setup validation': Trying to upgrade from unsupported versions: 3.5

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

4.0.3

How reproducible:
Always

Steps to Reproduce:
1. Setup 3.5 engine and some hosts
2. Upgrade engine and hosts to 3.6, keep compatibility level 3.5
3. Try to upgrade to 4.0

Actual results:

See above

Expected results:

A more detailed and clear error message, e.g.:

The following clusters have compatibility level <= 3.5, please upgrade them:

cluster1

The following Data Centers have compatibility level <= 3.5, please upgrade them:

dc1

Additional info:

Comment 1 Lukas Svaty 2016-10-19 11:03:43 UTC
verified in ovirt-engine-setup-4.0.5.1-0.1.el7ev.noarch

[ ERROR ] The following Data Centers have a too old compatibility level, please upgrade them:
          DC35
          DC34
[ ERROR ] The following Clusters have a too old compatibility level, please upgrade them:
          DC35CL35
          DC34CL34
          DC34CL35
[ ERROR ] Failed to execute stage 'Setup validation': Trying to upgrade from unsupported versions: 3.4 3.5


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