Description of problem: RHEL based 3.6 HE to 4.0 upgrade with wrong appliance. Version-Release number of selected component (if applicable): rhevm-appliance-20170106.0-1.el7ev.noarch rhevm-appliance-20161214.0-1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Deploy latest 3.6 HE 2. Try to upgrade it following - https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/paged/self-hosted-engine-guide/53-upgrading-a-rhel-based-self-hosted-engine-environment 3. Run # yum update ovirt-hosted-engine-setup rhevm-appliance Actual results: Appliance upgraded to rhevm-appliance-20170106.0-1.el7ev.noarch Expected results: Appliance should be upgraded to rhevm-appliance-20161214.0-1.el7ev.noarch Additional info: [root@rhelh36 ~]# yum repolist Loaded plugins: product-id, search-disabled-repos, subscription-manager repo id repo name status !rhel-7-server-rhev-mgmt-agent-rpms/7Server/x86_64 Red Hat Enterprise Virtualization Management Agents for RHEL 7 (RPMs) 674 rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 13,815 repolist: 14,489 [root@rhelh36 ~]# subscription-manager repos --enable=rhel-7-server-rhv-4-mgmt-agent-rpms Repository 'rhel-7-server-rhv-4-mgmt-agent-rpms' is enabled for this system. [root@rhelh36 ~]# yum update ovirt-hosted-engine-setup rhevm-appliance ... ... ... --> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Installing: ovirt-engine-sdk-python noarch 3.6.9.1-1.el7ev rhel-7-server-rhv-4-mgmt-agent-rpms 484 k replacing rhevm-sdk-python.noarch 3.6.9.1-1.el7ev Updating: ovirt-hosted-engine-setup noarch 2.0.4.1-2.el7ev rhel-7-server-rhv-4-mgmt-agent-rpms 321 k rhevm-appliance noarch 20170106.0-1.el7ev rhel-7-server-rhev-mgmt-agent-rpms 1.7 G [root@rhelh36 ~]# yum list all | grep -i rhevm-appliance rhevm-appliance.noarch 20160721.0-1.el7ev @rhel-7-server-rhev-mgmt-agent-rpms rhevm-appliance.noarch 20170106.0-1.el7ev rhel-7-server-rhev-mgmt-agent-rpms [root@rhelh36 ~]# yum install rhevm-appliance-20161214.0-1.el7ev.noarch.rpm Loaded plugins: product-id, search-disabled-repos, subscription-manager No package rhevm-appliance-20161214.0-1.el7ev.noarch.rpm available. Error: Nothing to do [root@rhelh36 ~]# yum repolist Loaded plugins: product-id, search-disabled-repos, subscription-manager repo id repo name status rhel-7-server-rhev-mgmt-agent-rpms/7Server/x86_64 Red Hat Enterprise Virtualization Management Agents for RHEL 7 (RPMs) 674 rhel-7-server-rhv-4-mgmt-agent-rpms/7Server/x86_64 Red Hat Virtualization 4 Management Agents for RHEL 7 (RPMs) 181 rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 13,815 repolist: 14,670 Workaround: [root@rhelh36 ~]# subscription-manager repos --disable=rhel-7-server-rhev-mgmt-agent-rpms Repository 'rhel-7-server-rhev-mgmt-agent-rpms' is disabled for this system. [root@rhelh36 ~]# yum list all | grep -i rhevm-appliance rhevm-appliance.noarch 20160721.0-1.el7ev @rhel-7-server-rhev-mgmt-agent-rpms rhevm-appliance.noarch 20161214.0-1.el7ev rhel-7-server-rhv-4-mgmt-agent-rpms [root@rhelh36 ~]# yum update rhevm-appliance Loaded plugins: product-id, search-disabled-repos, subscription-manager Resolving Dependencies --> Running transaction check ---> Package rhevm-appliance.noarch 0:20160721.0-1.el7ev will be updated ---> Package rhevm-appliance.noarch 0:20161214.0-1.el7ev will be an update --> Finished Dependency Resolution Then again need to subscribe rhel-7-server-rhev-mgmt-agent-rpms for roll back. While upgrade process following step need to be replaced: # yum update ovirt-hosted-engine-setup rhevm-appliance # yum update ovirt-hosted-engine-setup Continue upgrade process.
This looks like a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1414085
So we need to backport to 4.0 as well
Verified basic sanity under bz1414085
The rest should be tested with flow of Hosted Engine, changing QA contact. If you believe basic sanity of BZ#1414085 is sufficient feel free to move to VERIFIED.
I believe the sanity is enough the single problem can be with the --upgrade-appliance option that relevant for the upgrade from 3.6 to 4.0, but we still do not have the 3.6 appliances with the new name convention.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:0552