Bug 1166518 - rubygem-openshift-origin-common should be installed as dependency when installing rubygem-openshift-origin-routing-daemon
Summary: rubygem-openshift-origin-common should be installed as dependency when instal...
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: chris alfonso
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-21 07:05 UTC by Johnny Liu
Modified: 2016-02-01 02:36 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2014-12-10 13:25:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1979 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.2 bug fix and enhancement update 2014-12-10 18:23:46 UTC

Description Johnny Liu 2014-11-21 07:05:46 UTC
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 10:00:01 UTC
Version-Release number of selected component (if applicable):
rubygem-openshift-origin-routing-daemon-0.17.1.6-1.el6op.noarch

Comment 2 RHEL Program Management 2014-11-24 13:35:53 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 3 Brenton Leanhardt 2014-11-24 14:34:40 UTC
I meant to dev+ this bug. :)

Comment 4 chris alfonso 2014-11-24 18:41:09 UTC
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-26 03:17:22 UTC
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 13:25:15 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-2014-1979.html


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