Bug 810439

Summary: Should check the latest rhc-rest while installing or updating rhc client even if already having an old version.
Product: OKD Reporter: Xiaoli Tian <xtian>
Component: ocAssignee: Fotios Lindiakos <fotios>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: fotios, jkeck, mmcgrath, rmillner
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhc-0.90.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-20 15:38:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.