Description of problem: RHSC cannot be upgraded from 3.0.4 to 3.1. when i try to run 'yum update rhsc-setup' the following error comes. Transaction Check Error: file /usr/share/ovirt-engine/setup/ovirt_engine_setup/constants_access_plugin.py from install of rhsc-setup-plugins-3.1.0-0.el6rhs.noarch conflicts with file from package redhat-access-plugin-rhsc-3.0.0-1.el6rhs.noarch file /usr/share/ovirt-engine/setup/ovirt_engine_setup/constants_access_plugin.pyc from install of rhsc-setup-plugins-3.1.0-0.el6rhs.noarch conflicts with file from package redhat-access-plugin-rhsc-3.0.0-1.el6rhs.noarch file /usr/share/ovirt-engine/setup/ovirt_engine_setup/constants_access_plugin.pyo from install of rhsc-setup-plugins-3.1.0-0.el6rhs.noarch conflicts with file from package redhat-access-plugin-rhsc-3.0.0-1.el6rhs.noarch Error Summary ------------- Version-Release number of selected component (if applicable): rhsc-3.1.0-0.57.master.el6.noarch How reproducible: Always Steps to Reproduce: 1. Install rhsc 3.0.4 from live channel. 2. Now try doing an 'yum update rhsc-setup' and press 'Y'. 3. Actual results: update fails with error mentioned above. Expected results: update should be successful. Additional info:
The problem is that one of the RHS-C RPMs (I'm not sure which) does not have a 'Requires: redhat-access-plugin-rhsc >= 3.0.0' (see [1]) You are attempting to do an upgrade but the upgrade script isn't pulling down the latest redhat-access-plugin-rhsc which does not have this conflicting file. The package maintainer for RHS-C needs to go an investigate how RHEV 3.5 has resolved this issue because the code is nearly identical. Keith [1] https://brewweb.devel.redhat.com/buildinfo?buildID=395252
Thanks keith. I will ask the dev team to take a look at this.
Keith mentions that upgrade script does not pull down the latest redhat-access-plugin. Can you take a look at it?
Thats correct @Kasturi. We are not having Requires for >=3.0.0. We will do the required changes in next build. Thanks @Keith for pointing this out.
Tested with: rhsc-3.1.0-0.60 There is still the same issue. During upgrade it fails on transaction check. # yum update rhsc-setup ... Transaction Check Error: file /usr/share/ovirt-engine/setup/ovirt_engine_setup/constants_access_plugin.py from install of rhsc-setup-plugins-3.1.0-2.el6rhs.noarch conflicts with file from package redhat-access-plugin-rhsc-3.0.0-1.el6rhs.noarch file /usr/share/ovirt-engine/setup/ovirt_engine_setup/constants_access_plugin.pyc from install of rhsc-setup-plugins-3.1.0-2.el6rhs.noarch conflicts with file from package redhat-access-plugin-rhsc-3.0.0-1.el6rhs.noarch file /usr/share/ovirt-engine/setup/ovirt_engine_setup/constants_access_plugin.pyo from install of rhsc-setup-plugins-3.1.0-2.el6rhs.noarch conflicts with file from package redhat-access-plugin-rhsc-3.0.0-1.el6rhs.noarch # yum list redhat-access-plugin-rhsc Loaded plugins: product-id, security, subscription-manager, versionlock Installed Packages redhat-access-plugin-rhsc.noarch 3.0.0-1.el6rhs @rhsc-3-for-rhel-6-server-rpms
Verified and works fine with build rhsc-3.1.0-0.61.el6.noarch. Upgraded from 3.0.4 to 3.1, upgrade went well and no issues found. Marking this verified.
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://rhn.redhat.com/errata/RHEA-2015-1494.html