Bug 810439 - Should check the latest rhc-rest while installing or updating rhc client even if already having an old version.
Summary: Should check the latest rhc-rest while installing or updating rhc client even...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Fotios Lindiakos
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-06 07:24 UTC by Xiaoli Tian
Modified: 2015-05-15 01:50 UTC (History)
4 users (show)

Fixed In Version: rhc-0.90.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-20 15:38:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xiaoli Tian 2012-04-06 07:24:07 UTC
Description of problem:
If we already have rhc-rest installed (maybe an old version), if trying to install or update rhc client, it will only update rhc-client, but not trying to check if there's update for rhc-rest, which means we need to update rhc-rest manually.

Version-Release number of selected component (if applicable):
rhc-0.89.12-1.el6_2.noarch  

How reproducible:
Always

Steps to Reproduce:
1. Yum remove rhc (if you have installed)
2. Install an old version of rhc-rest: rpm -ivh rhc-rest-0.0.7-1.git.0.6ec063c.el6_2.noarch.rpm (you need to download the package firstly)

3. Yum install rhc
  
Actual results:
It will only update rhc, but not udpate rhc-rest even if there's an update for rhc-rest which is rhc-rest-0.0.8-1.el6_2.noarch.rpm.

Expected results:
rhc-rest should be updated as well if there's update version for it since some of our client bugs are fixed in rhc-rest.

Additional info:

Comment 1 Fotios Lindiakos 2012-04-10 14:55:57 UTC
Added explicit requires version to client.spec. Right now this needs to be manually updated every time rhc-rest is updated, but may be able to be automated.

Comment 2 Xiaoli Tian 2012-04-12 06:49:46 UTC
Move it to ON_QA since we get the build

Comment 3 Xiaoli Tian 2012-04-12 06:51:04 UTC
Verify it on rhc-0.90.5-1.el6_2.noarch
rhc-rest-0.0.11-1.el6_2.noarch, it will try to find the latest rhc while upgrading rhc

Comment 4 Mike McGrath 2012-04-13 02:57:09 UTC
We need to update the tooling so rhc always deps on whatever the latest version of rhc-rest is at built time.  Otherwise we'll never remember to keep these two in sync all the time.  (alternatively we could start bundling rhc-rest inside rhc)

Comment 5 Fotios Lindiakos 2012-04-20 15:38:58 UTC
This is no longer a problem since rhc-rest was incorporated into the rhc gem/rpm directly. Closing this bug.


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