Description of problem: rhvm-appliance >= 4.2 conflicts with (installed) ovirt-hosted-engine-setup-2.1.2-1.el7ev.noarch Version-Release number of selected component (if applicable): rhvh-4.1-0.20170531.0+1 rhvm-appliance-4.1.20170511.0-1.el7.4.1.rpm ovirt-hosted-engine-setup-2.1.2-1.el7ev.noarch ovirt-hosted-engine-ha-2.1.1-1.el7ev.noarch cockpit-ovirt-dashboard-0.10.7-0.0.18.el7ev.noarch imgbased-0.9.30-0.1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install RHVH4.1 via PXE. 2. Before deploy HE, install the rhvm-appliance package on rhvh(rpm -ivh /tmp/rhvm-appliance-4.1.20170511.0-1.el7.4.1.rpm) Actual results: After step2, [root@dell-op790-01 ~]# rpm -ivh /tmp/rhvm-appliance-4.1.20170511.0-1.el7.4.1.rpm error: Failed dependencies: rhvm-appliance >= 4.2 conflicts with (installed) ovirt-hosted-engine-setup-2.1.2-1.el7ev.noarch Expected results: After step2, the rhvm-appliance package can be installed Additional info: 1. In previous build rhvh-4.1-0.20170530.0, no such issue, it is a regression. 2. In previous build rhvh-4.1-0.20170530.0, the version of ovirt-hosted-engine-setup is: ovirt-hosted-engine-setup-2.1.1-1.el7ev.noarch
Add test block keyword since it would block the following he install test case
This is essentially from the versioning scheme. The RPM comes out as: rhvm-appliance-4.1.20170511.0-1.el7.noarch.rpm The version seen by RPM here is "4.1.20170511" If this became rhvm-appliance-4.1.20170511.0.el7.noarch.rpm, the correct version will be selected. Any mechanism which picks out the correct version works, though.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
rhvm-appliance has a version of 4.1.20170511, but its epoch is set to 1 and since rpm first compares the epoch, it fails. >>> rpm.labelCompare((None, "4.1.20170511.0", "1.el7"), (None, "4.2", None)) -1 >>> rpm.labelCompare(("1", "4.1.20170511.0", "1.el7"), (None, "4.2", None)) 1 I think ovirt-hosted-engine-setup should conflict with rhvm-appliance >= 1:4.2
Ok, I rebuilt ovirt-hosted-engine-setup-2.1.2-2.el7ev.noarch moving to Conflicts: rhevm-appliance < 1:4.0 Conflicts: rhvm-appliance >= 1:4.2
*** Bug 1460021 has been marked as a duplicate of this bug. ***
I'm still getting the same error "ovirt-hosted-engine-setup-2.1.2-1.el7ev.noarch conflicts rhvm-appliance >= 4.2" for NGN 4.1: libvirt-client-2.0.0-10.el7_3.9.x86_64 ovirt-hosted-engine-setup-2.1.2-1.el7ev.noarch ovirt-host-deploy-1.6.5-1.el7ev.noarch ovirt-imageio-common-1.0.0-0.el7ev.noarch ovirt-node-ng-nodectl-4.1.3-0.20170530.0.el7.noarch ovirt-vmconsole-host-1.0.4-1.el7ev.noarch mom-0.5.9-1.el7ev.noarch qemu-kvm-rhev-2.6.0-28.el7_3.9.x86_64 vdsm-4.19.17-1.el7ev.x86_64 ovirt-hosted-engine-ha-2.1.1-1.el7ev.noarch ovirt-setup-lib-1.1.1-1.el7ev.noarch sanlock-3.4.0-1.el7.x86_64 ovirt-vmconsole-1.0.4-1.el7ev.noarch ovirt-engine-sdk-python-3.6.9.1-1.el7ev.noarch ovirt-imageio-daemon-1.0.0-0.el7ev.noarch Linux version 3.10.0-514.21.1.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Sat Apr 22 02:41:35 EDT 2017 Linux 3.10.0-514.21.1.el7.x86_64 #1 SMP Sat Apr 22 02:41:35 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux release 7.3 Tried to install rhvm-appliance-4.1.20170605.0-1.el7.noarch
(In reply to Nikolai Sednev from comment #12) > I'm still getting the same error > "ovirt-hosted-engine-setup-2.1.2-1.el7ev.noarch conflicts rhvm-appliance >= > 4.2" for NGN 4.1: The bug has been fixed in ovirt-hosted-engine-setup >= 2.1.2-2.el7ev.noarch You're testing the wrong release (2.1.2-1).
Verified on rhvh-4.1-0.20170609.0+1 Test version: rhvh-4.1-0.20170609.0+1 rhvm-appliance-4.1.20170608.0-1.el7.noarch ovirt-hosted-engine-ha-2.1.2-1.el7ev.noarch ovirt-hosted-engine-setup-2.1.3-1.el7ev.noarch cockpit-ovirt-dashboard-0.10.7-0.0.19.el7ev.noarch Test step: 1. Install RHVH4.1 via PXE. 2. Install the rhvm-appliance-4.1.20170608.0-1.el7.noarch package on rhvh Test result: After step #2, the rhvm-appliance package can be install successfully, thus can deploy Hosted Engine
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-2017:1691