Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1206013 - ruby193-rubygem-rest-client should be installed as dependency when installing rubygem-openshift-origin-routing-daemon
ruby193-rubygem-rest-client should be installed as dependency when installing...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
2.2.0
Unspecified Unspecified
high Severity medium
: ---
: ---
Assigned To: Scott Dodson
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-26 02:47 EDT by Johnny Liu
Modified: 2016-05-25 09:20 EDT (History)
5 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-04-06 13:06:54 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0779 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.5 bug fix and enhancement update 2015-04-06 17:05:45 EDT

  None (edit)
Description Johnny Liu 2015-03-26 02:47:45 EDT
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 09:09:34 EDT
Trivial, I'll take this.
Comment 5 Johnny Liu 2015-03-27 02:03:35 EDT
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 13:06:54 EDT
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.