Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1166518 - rubygem-openshift-origin-common should be installed as dependency when installing rubygem-openshift-origin-routing-daemon
rubygem-openshift-origin-common should be installed as dependency when instal...
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: chris alfonso
libra bugs
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-21 02:05 EST by Johnny Liu
Modified: 2016-01-31 21:36 EST (History)
7 users (show)

See Also:
Fixed In Version: rubygem-openshift-origin-routing-daemon-0.20.2.3-1.el6op
Doc Type: Bug Fix
Doc Text:
The openshift-routing-daemon service requires functions from the ruby-openshift-origin-common package, however the rubygem-openshift-origin-routing-daemon package previously did not have its dependencies set accordingly. As a result, the openshift-routing-daemon service failed to start when the ruby-openshift-origin-common package was not installed. This bug fix updates the rubygem-openshift-origin-routing-daemon package to require the ruby-openshift-origin-common package, and as a result the service starts successfully.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-12-10 08:25:15 EST
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-2014:1979 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.2 bug fix and enhancement update 2014-12-10 13:23:46 EST

  None (edit)
Description Johnny Liu 2014-11-21 02:05:46 EST
Description of problem:
openshift-routing-daemon is calling function for openshift-origin-common, but openshift-origin-common is not installed as dependency.

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

How reproducible:
Always

Steps to Reproduce:
1.On and clean RHEL system, install rubygem-openshift-origin-routing-daemon
2.Try to start openshift-routing-daemon service.
3.

Actual results:
# /etc/init.d/openshift-routing-daemon start
/opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': cannot load such file -- openshift-origin-common/utils/path_utils (LoadError)
	from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /etc/init.d/openshift-routing-daemon:17:in `<main>'

# rpm -qR rubygem-openshift-origin-routing-daemon
/usr/bin/env  
config(rubygem-openshift-origin-routing-daemon) = 0.17.1.6-1.el6op
openshift-origin-util-scl  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
ruby193-ruby(abi) >= 1.9.1
ruby193-rubygem(daemons)  
ruby193-rubygem(json)  
ruby193-rubygem(parseconfig)  
ruby193-rubygem(stomp)  
ruby193-rubygems  
rpmlib(PayloadIsXz) <= 5.2-1


Expected results:
openshift-origin-common should installed as dependency of openshift-routing-daemon.

Additional info:
Comment 1 Johnny Liu 2014-11-21 05:00:01 EST
Version-Release number of selected component (if applicable):
rubygem-openshift-origin-routing-daemon-0.17.1.6-1.el6op.noarch
Comment 2 RHEL Product and Program Management 2014-11-24 08:35:53 EST
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.
Comment 3 Brenton Leanhardt 2014-11-24 09:34:40 EST
I meant to dev+ this bug. :)
Comment 4 chris alfonso 2014-11-24 13:41:09 EST
Opened PR for origin-server https://github.com/openshift/origin-server/pull/5973
I'll get it merged into enterprise-server once it's merged upstream.
Comment 7 Johnny Liu 2014-11-25 22:17:22 EST
Verified this bug with rubygem-openshift-origin-routing-daemon-0.20.2.3-1.el6op.noarch, and PASS.


# yum install rubygem-openshift-origin-routing-daemon
Resolving Dependencies
--> Running transaction check
---> Package rubygem-openshift-origin-routing-daemon.noarch 0:0.20.2.3-1.el6op will be installed
--> Processing Dependency: rubygem(openshift-origin-common) for package: rubygem-openshift-origin-routing-daemon-0.20.2.3-1.el6op.noarch
--> Processing Dependency: openshift-origin-util-scl for package: rubygem-openshift-origin-routing-daemon-0.20.2.3-1.el6op.noarch
--> Running transaction check
---> Package openshift-origin-util-scl.noarch 0:1.20.1.1-1.el6op will be installed
---> Package rubygem-openshift-origin-common.noarch 0:1.29.1.1-1.el6op will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================================
 Package                                                       Arch                         Version                                   Repository                                    Size
=========================================================================================================================================================================================
Installing:
 rubygem-openshift-origin-routing-daemon                       noarch                       0.20.2.3-1.el6op                          openshift_infra_puddle                       219 k
Installing for dependencies:
 openshift-origin-util-scl                                     noarch                       1.20.1.1-1.el6op                          openshift_infra_puddle                       5.9 k
 rubygem-openshift-origin-common                               noarch                       1.29.1.1-1.el6op                          openshift_infra_puddle                        54 k

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

Total download size: 280 k
Installed size: 1.2 M
Is this ok [y/N]: y
Comment 9 errata-xmlrpc 2014-12-10 08:25:15 EST
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-2014-1979.html

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