Bug 1071392 - [Sprint 41] Missing dependency rubygem-net-scp for package: rhc-1.20.3-1.el6oso.noarch
Summary: [Sprint 41] Missing dependency rubygem-net-scp for package: rhc-1.20.3-1.el6o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Documentation
Version: 1.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Julie
QA Contact: Alex Dellapenta
URL:
Whiteboard:
: 1074544 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-28 16:24 UTC by Alexander Todorov
Modified: 2015-07-20 00:16 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-11 01:02:23 UTC
Target Upstream Version:
Embargoed:
juwu: needinfo-
juwu: needinfo-


Attachments (Terms of Use)

Description Alexander Todorov 2014-02-28 16:24:17 UTC
# yum update
Loaded plugins: auto-update-debuginfo, presto, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package rhc.noarch 0:1.19.5-1.el6oso will be updated
---> Package rhc.noarch 0:1.20.3-1.el6oso will be an update
--> Processing Dependency: rubygem-net-scp for package: rhc-1.20.3-1.el6oso.noarch
--> Finished Dependency Resolution
Error: Package: rhc-1.20.3-1.el6oso.noarch (openshift)
           Requires: rubygem-net-scp
 You could try using --skip-broken to work around the problem

Comment 1 XiuJuan Wang 2014-03-03 05:21:36 UTC
Hi, 
Can not reproduce on rhel 6.4 and rhel 6.5. If I use 'yum update rhc' will install rhc-1.21.1-1, the lastest rhc client. So I download rhc-1.20.3-1 rpm, and use yum to solve the depende

#sudo yum install rhc-1.20.3-1.el6oso.noarch.rpm 
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repository rhel-source is listed more than once in the configuration
Setting up Install Process
Examining rhc-1.20.3-1.el6oso.noarch.rpm: rhc-1.20.3-1.el6oso.noarch
Marking rhc-1.20.3-1.el6oso.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rhc.noarch 0:1.20.3-1.el6oso will be installed
--> Processing Dependency: rubygem-net-scp for package: rhc-1.20.3-1.el6oso.noarch
--> Running transaction check
---> Package rubygem-net-scp.noarch 0:1.1.2-1.el6oso will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================
 Package               Arch         Version                  Repository                         Size
=====================================================================================================
Installing:
 rhc                   noarch       1.20.3-1.el6oso          /rhc-1.20.3-1.el6oso.noarch       8.3 M
Installing for dependencies:
 rubygem-net-scp       noarch       1.1.2-1.el6oso           li                                 47 k

Transaction Summary
=====================================================================================================
Install       2 Package(s)

Total size: 8.3 M
Total download size: 47 k
Installed size: 8.4 M
Is this ok [y/N]: y
Downloading Packages:
rubygem-net-scp-1.1.2-1.el6oso.noarch.rpm                                     |  47 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : rubygem-net-scp-1.1.2-1.el6oso.noarch                                             1/2 
  Installing : rhc-1.20.3-1.el6oso.noarch                                                        2/2 
  Verifying  : rhc-1.20.3-1.el6oso.noarch                                                        1/2 
  Verifying  : rubygem-net-scp-1.1.2-1.el6oso.noarch                                             2/2 

Installed:
  rhc.noarch 0:1.20.3-1.el6oso                                                                       

Dependency Installed:
  rubygem-net-scp.noarch 0:1.1.2-1.el6oso                                                            

Complete!

Comment 2 Clayton Coleman 2014-03-03 21:07:42 UTC
This looks like it's resolved because the dependency packages were corrected in our channel - sending to Enterprise to verify.

Comment 4 Brenton Leanhardt 2014-03-03 21:14:03 UTC
rubygem-net-scp is not required for OSE 2.0.z's rhc package.  I noticed upstream rhc requiring it the other day.  We plan to ship rubygem-net-scp for OSE 2.1.  If anything changes let us know.

Based on the package names I'm guessing this is an Origin install.  I'm assigning the bug properly.

Comment 5 Alexander Todorov 2014-03-04 19:27:45 UTC
(In reply to Brenton Leanhardt from comment #4)
> rubygem-net-scp is not required for OSE 2.0.z's rhc package.  I noticed
> upstream rhc requiring it the other day.  We plan to ship rubygem-net-scp
> for OSE 2.1.  If anything changes let us know.
> 

I'm installing the client side tool on RHEL 6.5 from:

https://openshift.redhat.com/app/repo/openshift.repo


which is listed in the OpenShift Online docs so updating accordingly.

Comment 6 Clayton Coleman 2014-03-04 20:59:16 UTC
That shouldn't be referenced in our docs.  We don't support the RPM for online users generally.  We support the RPM for fedora and centos in origin, and the RPM in rhel for OSE.

The docs should be changed.

Comment 7 Julie 2014-03-05 00:40:56 UTC
Hi Clayton,
     I just checked the docs on openshift.com ( https://www.openshift.com/developers/rhc-client-tools-install ) and it still has the same content as what is currently in our guide. Could you update the online content or provide me some docs info on how it's done now?

Many thanks,
Julie

Comment 8 Brenton Leanhardt 2014-03-05 13:49:33 UTC
Hi Julie,

The instructions for Fedora should be similar to ubuntu in that the system package managemer will install ruby and the gem package manager will be used for rhc.

I tested this on fedora 20 but the steps will be the same on 19.

sudo yum install ruby
gem install rhc

Comment 9 Clayton Coleman 2014-03-05 15:43:48 UTC
I updated the public documentation for RHEL to remove the reference to openshift.repo.  I'm not changing Fedora at this time, but the instructions above should be correct.

Comment 11 XiuJuan Wang 2014-03-11 08:53:05 UTC
*** Bug 1074544 has been marked as a duplicate of this bug. ***

Comment 15 Julie 2014-05-12 01:16:40 UTC
hi clayton or brenton, 
    This bug is blocked without confirmation from you. Please see comment14. 

Many thanks,
Julie

Comment 16 Julie 2014-05-29 02:29:34 UTC
Have not heard back and will assume the updated content is correct. Flipping to QE.


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