Bug 1206013 - ruby193-rubygem-rest-client should be installed as dependency when installing rubygem-openshift-origin-routing-daemon
Summary: ruby193-rubygem-rest-client should be installed as dependency when installing...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-26 06:47 UTC by Johnny Liu
Modified: 2016-05-25 13:20 UTC (History)
5 users (show)

Fixed In Version: rubygem-openshift-origin-routing-daemon-0.23.2.0-1.el6op
Doc Type: Bug Fix
Doc Text:
After starting the routing daemon service, operations using the oo-admin-ctl-routing tool would fail if the ruby193-rubygem-rest-client package was not installed. This was due to the rubygem-openshift-origin-routing-daemon package missing a dependency on the ruby193-rubygem-rest-client package. This bug fix updates the rubygem-openshift-origin-routing-daemon package to include this dependency, and the issue no longer occurs as a result.
Clone Of:
Environment:
Last Closed: 2015-04-06 17:06:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0779 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.5 bug fix and enhancement update 2015-04-06 21:05:45 UTC

Description Johnny Liu 2015-03-26 06:47:45 UTC
Description of problem:
On a minimal installation, install rubygem-openshift-origin-routing-daemon, config it to connect F5 load balancer, then start the routing service.

# oo-admin-ctl-routing list-pools; oo-admin-ctl-routing list-aliases; oo-admin-ctl-routing list-monitors
/opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': cannot load such file -- restclient (LoadError)
	from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-routing-daemon-0.23.1.1/lib/openshift/routing/models/f5-icontrol-rest.rb:5:in `<top (required)>'
	from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /usr/sbin/oo-admin-ctl-routing:55:in `initialize'
	from /usr/sbin/oo-admin-ctl-routing:89:in `new'
	from /usr/sbin/oo-admin-ctl-routing:89:in `<main>'
/opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': cannot load such file -- restclient (LoadError)
	from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-routing-daemon-0.23.1.1/lib/openshift/routing/models/f5-icontrol-rest.rb:5:in `<top (required)>'
	from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /usr/sbin/oo-admin-ctl-routing:55:in `initialize'
	from /usr/sbin/oo-admin-ctl-routing:89:in `new'
	from /usr/sbin/oo-admin-ctl-routing:89:in `<main>'
/opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': cannot load such file -- restclient (LoadError)
	from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-routing-daemon-0.23.1.1/lib/openshift/routing/models/f5-icontrol-rest.rb:5:in `<top (required)>'
	from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /usr/sbin/oo-admin-ctl-routing:55:in `initialize'
	from /usr/sbin/oo-admin-ctl-routing:89:in `new'
	from /usr/sbin/oo-admin-ctl-routing:89:in `<main>'


After installed ruby193-rubygem-rest-client, the error disappeared.

Version-Release number of selected component (if applicable):
rubygem-openshift-origin-routing-daemon-0.23.1.1-1.el6op.noarch

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Scott Dodson 2015-03-26 13:09:34 UTC
Trivial, I'll take this.

Comment 5 Johnny Liu 2015-03-27 06:03:35 UTC
Verified this bug with rubygem-openshift-origin-routing-daemon-0.23.2.0-1.el6op.noarch, and PASS.

# yum update rubygem-openshift-origin-routing-daemon
=========================================================================================================================================================================================
 Package                                                       Arch                         Version                                   Repository                                    Size
=========================================================================================================================================================================================
Updating:
 rubygem-openshift-origin-routing-daemon                       noarch                       0.23.2.0-1.el6op                          openshift_infra_puddle                       209 k
Installing for dependencies:
 ruby193-rubygem-rest-client                                   noarch                       1.6.1-2.el6op                             openshift_infra_puddle                       159 k

Transaction Summary
=========================================================================================================================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)



# rpm -qR rubygem-openshift-origin-routing-daemon|grep rest
ruby193-rubygem(rest-client)

Comment 7 errata-xmlrpc 2015-04-06 17:06:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0779.html


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