Bug 1225405 - [New] - cannot upgrade rhsc from 3.0.4 to 3.1.0
Summary: [New] - cannot upgrade rhsc from 3.0.4 to 3.1.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: RHGS 3.1.0
Assignee: Sahina Bose
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks: 1202731 1202842 1224288
TreeView+ depends on / blocked
 
Reported: 2015-05-27 10:09 UTC by RamaKasturi
Modified: 2015-07-29 05:30 UTC (History)
9 users (show)

Fixed In Version: rhsc-3.1.0-61
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-29 05:30:20 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1494 0 normal SHIPPED_LIVE Red Hat Gluster Storage Console 3.1 Enhancement and bug fixes 2015-07-29 09:24:02 UTC

Description RamaKasturi 2015-05-27 10:09:17 UTC
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:

Comment 2 Keith Robertson 2015-05-27 17:11:01 UTC
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

Comment 3 RamaKasturi 2015-05-28 06:09:25 UTC
Thanks keith. I will ask the dev team to take a look at this.

Comment 4 RamaKasturi 2015-05-28 06:10:58 UTC
Keith mentions that upgrade script does not pull down the latest redhat-access-plugin. Can you take a look at it?

Comment 5 Shubhendu Tripathi 2015-05-28 06:28:58 UTC
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.

Comment 6 Lubos Trilety 2015-06-16 11:49:32 UTC
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

Comment 8 RamaKasturi 2015-06-24 06:30:51 UTC
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.

Comment 9 errata-xmlrpc 2015-07-29 05:30:20 UTC
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


Note You need to log in before you can comment on or make changes to this bug.