Bug 1329053 - rhc-1.38.6 is not provided by rvm
Summary: rhc-1.38.6 is not provided by rvm
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Timothy Williams
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-21 03:36 UTC by Kenjiro Nakayama
Modified: 2019-11-14 07:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-06 18:37:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1109935 0 unspecified CLOSED rhc show <appname> --gear quota and ssh'ed quota -s show different results 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1310810 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1109935 1310810

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.


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