Bug 956859 - rhc-broker is missing an rpm dependency...
Summary: rhc-broker is missing an rpm dependency...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-25 19:24 UTC by Thomas Wiest
Modified: 2015-05-15 00:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-07 22:54:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thomas Wiest 2013-04-25 19:24:01 UTC
Description of problem:
On a machine that _only_ has a broker installed, when I try to run any broker commands it says that it can't find the mocha gem.

The rpm that needs to be installed is:
ruby193-rubygem-mocha


Here's the output.
# oo-admin-ctl-district 
Could not find gem 'mocha (~> 0.12.10) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.



Version-Release number of selected component (if applicable):
rhc-broker-1.7.5-1.el6oso.noarch

Comment 1 Dan McPherson 2013-07-22 15:44:00 UTC
The fix should be to remove the dependency and only require mocha for test.

Comment 2 Dan McPherson 2013-07-30 19:55:48 UTC
https://github.com/openshift/li/pull/1779

Comment 3 Dan McPherson 2013-07-30 19:56:53 UTC
Note: the dep is removed for production mode.

Comment 6 Jianwei Hou 2013-07-31 02:12:08 UTC
Verified on devenv_3588 with rhc-broker-1.12.5-1.git.25.7ec7064.el6.noarch

ruby193-rubygem-mocha is removed from the broker package dependencies.

[root@ip-10-191-41-74 broker]# rpm -qR rhc-broker-1.12.5-1.git.25.7ec7064.el6.noarch
/bin/bash  
/bin/sh  
/usr/bin/env  
config(rhc-broker) = 1.12.5-1.git.25.7ec7064.el6
httpd  
mod_ssl  
openshift-origin-broker-util  
rhc-common  
rhc-server-common  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
ruby193  
ruby193-mod_passenger  
ruby193-ruby-wrapper  
ruby193-rubygem-bigdecimal  
ruby193-rubygem-bson_ext  
ruby193-rubygem-dalli  
ruby193-rubygem-dnsruby  
ruby193-rubygem-json  
ruby193-rubygem-minitest  
ruby193-rubygem-mongo_mapper  
ruby193-rubygem-mongoid  
ruby193-rubygem-open4  
ruby193-rubygem-parseconfig  
ruby193-rubygem-pony  
ruby193-rubygem-rails  
ruby193-rubygem-regin  
ruby193-rubygem-rest-client  
ruby193-rubygem-ruby-prof  
ruby193-rubygem-simplecov  
ruby193-rubygem-state_machine  
ruby193-rubygem-stomp  
ruby193-rubygem-systemu  
ruby193-rubygem-uuidtools  
ruby193-rubygem-wddx  
ruby193-rubygem-xml-simple  
rubygem-openshift-origin-auth-streamline  
rubygem-openshift-origin-billing-aria  
rubygem-openshift-origin-controller  
rubygem-openshift-origin-dns-dynect  
rubygem-openshift-origin-msg-broker-mcollective  
rubygem-passenger-native-libs  
rpmlib(PayloadIsXz) <= 5.2-1


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