Description of problem: Upgrade from RHV 4.0 to 4.2 failing while using "ovirt-fast-forward-upgrade" tool due to 'eap7-jboss*' dependency issues. Version-Release number of selected component (if applicable): RHV-4.0 ovirt-fast-forward-upgrade How reproducible: Always Steps to Reproduce: 1. Install "ovirt-fast-forward-upgrade" package on RHEv-M 4.0 system. 2. Execute the "ovirt-fast-forward-upgrade" command to upgrade it to latest RHV-4.2.x version 3. Actual results: Upgrade failed with Transaction check error and aborts the upgrade process. ~~~ Transaction check error: file /opt/rh/eap7/root/usr/share/java/weld-api-sources.jar from install of eap7-jboss-weld-3.0-api-weld-api-0:3.0.0-7.SP4_redhat_00001.1.el7eap.noarch conflicts with file from package eap7-jboss-weld-2.2-api-0:2.3.0-7.SP1_redhat_1.1.ep7.el7.noarch file /opt/rh/eap7/root/usr/share/java/weld-api.jar from install of eap7-jboss-weld-3.0-api-weld-api-0:3.0.0-7.SP4_redhat_00001.1.el7eap.noarch conflicts with file from package eap7-jboss-weld-2.2-api-0:2.3.0-7.SP1_redhat_1.1.ep7.el7.noarch file /opt/rh/eap7/root/usr/share/java/weld-spi-sources.jar from install of eap7-jboss-weld-3.0-api-weld-spi-0:3.0.0-7.SP4_redhat_00001.1.el7eap.noarch conflicts with file from package eap7-jboss-weld-2.2-api-0:2.3.0-7.SP1_redhat_1.1.ep7.el7.noarch file /opt/rh/eap7/root/usr/share/java/weld-spi.jar from install of eap7-jboss-weld-3.0-api-weld-spi-0:3.0.0-7.SP4_redhat_00001.1.el7eap.noarch conflicts with file from package eap7-jboss-weld-2.2-api-0:2.3.0-7.SP1_redhat_1.1.ep7.el7.noarch Error Summary ------------- [ ERROR ] Aborting.. yum update failed... ~~~ Expected results: Upgrade from RHV 4.0 to RHV 4.2 using "ovirt-fast-forward-upgrade" tool should complete successfully without any errors. Additional info: The '/usr/sbin/ovirt-fast-forward-upgrade' has following eap repos which gets enabled during upgrade process. These 'jb-eap" channel version for RHV-4.0 and RHV-4.1 are different from the one mentioned in respective 4.0 and 4.1 installation guide. It should be, jb-eap-7.0-for-rhel-7-server-rpms <<== RHV-4.0 and jb-eap-7.1-for-rhel-7-server-rpms <<== RHV-4.1 But in "/usr/sbin/ovirt-fast-forward-upgrade" following incorrect repos mentioned i.e"jb-eap7*" repo versions wrong for RHV-4.0 and RHV4.1 repos section. ~~~ RHV_40_REPOS = [ "rhel-7-server-supplementary-rpms", "rhel-7-server-rpms", "rhel-7-server-rhv-4.0-rpms", "jb-eap-7-for-rhel-7-server-rpms" <<== ] RHV_41_REPOS = [ "rhel-7-server-supplementary-rpms", "rhel-7-server-rpms", "rhel-7-server-rhv-4.1-rpms", "rhel-7-server-rhv-4-tools-rpms", "jb-eap-7-for-rhel-7-server-rpms" <<== ] RHV_42_REPOS = [ "rhel-7-server-supplementary-rpms", "rhel-7-server-rpms", "rhel-7-server-rhv-4.2-manager-rpms", "rhel-7-server-rhv-4-manager-tools-rpms", "rhel-7-server-ansible-2-rpms", "jb-eap-7-for-rhel-7-server-rpms" ] ~~~ References: RHEV-4.0 Repositories : https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.0/html-single/installation_guide/#Subscribing_to_the_Red_Hat_Enterprise_Virtualization_Manager_Channels_using_Subscription_Manager RHEV-4.1 Repositories : https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html-single/installation_guide/#Subscribing_to_the_Red_Hat_Enterprise_Virtualization_Manager_Channels_using_Subscription_Manager RHEV-4.2 Repositories : https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html-single/installation_guide/#Enabling_the_Red_Hat_Virtualization_Manager_Repositories_standalone_install
Martin can you please confirm channel listing here?
AFAIK this was already fixed in 4.3, see attached patches
Testable in ovirt-fast-forward-upgrade-1.0.0-8.el7ev
Testable package isn't included in 4.2.8-9 build There is still ovirt-fast-forward-upgrade-1.0.0-1.el7ev.noarch according to documentation [1], the package should be? available also (and primarily) in older versions of RHV to do fast upgrade from 4.0 to latest version 4.x? next, when I tried to install ovirt-fast-forward-upgrade-1.0.0-8.el7ev on RHV 4.0, I got an issue, which prevent to install package due to missing engine-db-query [2] [2] ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch.rpm | 16 kB 00:00:00 Examining /var/tmp/yum-root-u0R5i3/ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch.rpm: ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch Marking /var/tmp/yum-root-u0R5i3/ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch.rpm as an update to ovirt-fast-forward-upgrade-1.0.0-1.el7ev.noarch Resolving Dependencies --> Running transaction check ---> Package ovirt-fast-forward-upgrade.noarch 0:1.0.0-1.el7ev will be updated ---> Package ovirt-fast-forward-upgrade.noarch 0:1.0.0-8.el7ev will be an update --> Processing Dependency: engine-db-query for package: ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch --> Finished Dependency Resolution Error: Package: ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch (/ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch) Requires: engine-db-query ********************************************************************** yum can be configured to try to resolve such errors by temporarily enabling disabled repos and searching for missing dependencies. To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf ********************************************************************** Error: Package: ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch (/ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch) Requires: engine-db-query You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [1] https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/upgrade_guide/upgrading_with_ovirt-fast-forward-upgrade
(In reply to Petr Kubica from comment #6) > Testable package isn't included in 4.2.8-9 build > There is still ovirt-fast-forward-upgrade-1.0.0-1.el7ev.noarch > > according to documentation [1], the package should be? available also (and > primarily) in older versions of RHV to do fast upgrade from 4.0 to latest > version 4.x? > > next, when I tried to install ovirt-fast-forward-upgrade-1.0.0-8.el7ev on > RHV 4.0, I got an issue, which prevent to install package due to missing > engine-db-query [2] > > [2] > ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch.rpm > | 16 kB 00:00:00 > Examining > /var/tmp/yum-root-u0R5i3/ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch.rpm: > ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch > Marking > /var/tmp/yum-root-u0R5i3/ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch.rpm > as an update to ovirt-fast-forward-upgrade-1.0.0-1.el7ev.noarch > Resolving Dependencies > --> Running transaction check > ---> Package ovirt-fast-forward-upgrade.noarch 0:1.0.0-1.el7ev will be > updated > ---> Package ovirt-fast-forward-upgrade.noarch 0:1.0.0-8.el7ev will be an > update > --> Processing Dependency: engine-db-query for package: > ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch > --> Finished Dependency Resolution > Error: Package: ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch > (/ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch) > Requires: engine-db-query > ********************************************************************** > yum can be configured to try to resolve such errors by temporarily enabling > disabled repos and searching for missing dependencies. > To enable this functionality please set 'notify_only=0' in > /etc/yum/pluginconf.d/search-disabled-repos.conf > ********************************************************************** > > Error: Package: ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch > (/ovirt-fast-forward-upgrade-1.0.0-8.el7ev.noarch) > Requires: engine-db-query > You could try using --skip-broken to work around the problem > You could try running: rpm -Va --nofiles --nodigest > > [1] > https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/ > html/upgrade_guide/upgrading_with_ovirt-fast-forward-upgrade There is RCM case opened for this: https://projects.engineering.redhat.com/browse/RCM-54300
for version 4.3 there are still beta channels RHV_43_REPOS = [ "rhel-7-server-supplementary-rpms", "rhel-7-server-rpms", "rhel-7-server-rhv-4-beta-rpms", "rhel-7-server-rhv-4-tools-beta-rpms", "rhel-7-server-ansible-2-rpms", "jb-eap-7.2-for-rhel-7-server-rpms" ] should I create a new bug for it or is it already handled somewhere? ver: ovirt-fast-forward-upgrade-1.0.0-11.el7ev.noarch
Finally verified in ovirt-fast-forward-upgrade-1.0.0-12.el7ev.noarch issue with RHV 4.3 beta channels was fixed within this version
This bug is being fixed with RHV 4.3 GA release. The package will be included in the rhv-m tools channel which is shared with RHV 4.2 and RHV 4.3 so this will be available in RHV 4.2.8 too. Moving target milestone to 4.3.3 to properly record this bug closing time.
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/RHBA-2019:1078
sync2jira