Red Hat Bugzilla – Bug 1326421
Prevent upgrade to 4.0 if datacenters and clusters older than 3.6 are managed
Last modified: 2017-05-11 05:29:20 EDT
Description of problem: with https://gerrit.ovirt.org/#/c/55752/ support for datacenters older than 3.6 will be dropped. We should stop the upgrade and tell user to upgrade datacenters first to at least 3.6, before upgrading engine.
Same for Cluster level
Assigning to Allon who already pushed a patch including a fix for this.
how is this MODIFIED with patch 55752 only? It just removes <=3.5 code from engine but there's no upgrade code to stop users from upgrading when they have 3.5 clusters/DCs. Is there a patch missing?
Fixed by https://gerrit.ovirt.org/#/c/55752/5/packaging/setup/plugins/ovirt-engine-common/base/core/misc.py
Ah, I missed that. Thanks. Just beware it won't be enough in the next version since the introduction of a per VM cluster level override
The doctext claimed that "Red Hat Virtualization Manager 4.0 does not support data center or cluster compatibility levels 3.6 or lower.", implying that 3.6 clusters/DCs aren't supported. This is /not/ correct - 3.6 clusters/DCs are supported, compatibility version lower than that (i.e., **3.5 or lower** are not. I fixed the numbering and reset the flag to ? to make sure someone from the documentation team confirms this phrasing.
Documentation about this bug in https://access.redhat.com/documentation/en/red-hat-virtualization/4.0-beta/release-notes/ is wrong since it states 3.6 cannot be upgraded: --- BZ#1326421 Red Hat Virtualization Manager 4.0 does not support data center or cluster compatibility levels 3.6 or lower. A data center or cluster compatibility version of 3.6 or lower will prevent an upgrade to Red Hat Virtualization 4.0. --- To my understanding this should be 3.5 and lower
(In reply to dmoessne from comment #7) > Documentation about this bug in > https://access.redhat.com/documentation/en/red-hat-virtualization/4.0-beta/ > release-notes/ is wrong since it states 3.6 cannot be upgraded: > > --- > BZ#1326421 > Red Hat Virtualization Manager 4.0 does not support data center or cluster > compatibility levels 3.6 or lower. A data center or cluster compatibility > version of 3.6 or lower will prevent an upgrade to Red Hat Virtualization > 4.0. > --- > > To my understanding this should be 3.5 and lower You understanding is correct. This seems to be the text provided before I corrected it in comment 6. Byron - is there anything special that needs to be done to get the updated text pushed to the documentation, or will this be done automatically once the next beta/GA is released?
ok, 4.0.0-19 ... [ ERROR ] Failed to execute stage 'Setup validation': Trying to upgrade from unsupported versions: 3.5 [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20160701130929-lhrkf9.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20160701130943-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed [root@10-34-61-116 ~]# rpm -qf `which engine-setup` ovirt-engine-setup-base-4.0.0.6-0.1.el7ev.noarch
oVirt 4.0.0 has been released, closing current release.