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