Bug 1329053

Summary: rhc-1.38.6 is not provided by rvm
Product: OpenShift Container Platform Reporter: Kenjiro Nakayama <knakayam>
Component: ocAssignee: Timothy Williams <tiwillia>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Sun <wsun>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.2.0CC: aos-bugs, ffranz, jokerman, mmccomas, rthrashe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-06 18:37:57 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 Kenjiro Nakayama 2016-04-21 03:36:07 UTC
Description of problem:

rhc-1.38.6 has fix of [0], but Red Hat doesn't provide the rhc-1.38.6 via rvm yet.

Version-Release number of selected component (if applicable):

rhc-1.38.6

How reproducible:
Steps to Reproduce:
1. Install or update rhc

  > gem install rhc

2. check rhc version

  > rhc --version
  rhc 1.38.4

Actual results:

It is still rhc 1.38.4.

Expected results:

It should be 1.38.6.

Additional info:

OSE v2.2.9[1] already released rhc 1.38.6, so rpm packages for RHEL6 are alright, but except for RHEL, we can't use it.

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1109935
[1] https://rhn.redhat.com/errata/RHSA-2016-0489.html

Comment 2 Kenjiro Nakayama 2016-04-27 02:17:25 UTC
I'm sorry, but I raise the severity of this ticket. I can't believe that there are no any update for 1 week.

Comment 3 Timothy Williams 2016-04-27 18:35:49 UTC
Kenjiro,

We are working on updating the version on rubygems.org now, sorry for the delay.

The rubygems.org version usually gets updated any time the version is bumped for rhc. As you can see in the https://github.com/openshift/rhc repository, the version is still 1.38.4. The version is usually bumped when we do a release for the online offering - but we have not needed to do a release lately. 

We are bumping the version now and we'll get the version on rubygems.org updated asap. In the meantime, you can easily build the updated gem yourself. Simply follow the below instructions:

1) Clone the source:
$ git clone https://github.com/openshft/rhc
$ cd rhc/

2) Run the build script:
$ ./build.sh

A file `rhc-1.38.4.gem` should be created, containing all of the fixes. I understand that the version is still behind so updating might be difficult. You can update the version in the `client.spec` file manually to mark the build as whichever version you wish.

Let me know if you have any questions. We'll strive to release the rhc gem to rubygems.org more often in the future.

Comment 5 Rory Thrasher 2016-09-06 18:37:57 UTC
It looks like rhc 1.38.7 has been added to https://rubygems.org/gems/rhc 

I've just tested, and `gem install rhc` now pulls 1.38.7.  So this should be good.  If theres ever a problem, follow Tim's instructions to build rhc locally.  Building locally should provide better results as the github may have more recent changes and is designed to build with different dependencies based on the Ruby version used to build it.


I'm going to go ahead and close this as rhc 1.38.7 is now available through rvm.