Bug 760963

Summary: Missing dependency package rubygem-json-pure
Product: [Fedora] Fedora Reporter: Eric D. Schabell <erics>
Component: rubygem-rhcAssignee: Guillermo Gómez <guillermo.gomez>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: guillermo.gomez, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-18 13:23:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eric D. Schabell 2011-12-07 13:06:08 UTC
Description of problem:

When running any rhc-* component, the following happens:

$ rhc-ctl-app --help
/usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find json_pure (>= 0) amongst [json-1.4.6, parseconfig-0.5.2, rhc-0.81.14] (Gem::LoadError)
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:761:in `activate_dependencies'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:758:in `each'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:758:in `activate_dependencies'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:742:in `activate'
	from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1212:in `gem'
	from /usr/bin/rhc-ctl-app:18

Installed rubygem-json-pure via yum fixes.

Version-Release number of selected component (if applicable):
n/a

How reproducible:
see above.

Steps to Reproduce:
1. install rubygem-rhc
2. run any command, see above.
3.
  
Actual results:

$ rhc-ctl-app --help
/usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find json_pure (>= 0) amongst [json-1.4.6, parseconfig-0.5.2, rhc-0.81.14] (Gem::LoadError)
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:761:in `activate_dependencies'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:758:in `each'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:758:in `activate_dependencies'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:742:in `activate'
	from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1212:in `gem'
	from /usr/bin/rhc-ctl-app:18


Expected results:

$ rhc-ctl-app --help

Created local config file: /home/eschabel/.openshift/express.conf
express.conf contains user configuration and can be transferred across clients.


Usage: /usr/bin/rhc-ctl-app
Control an OpenShift express app

  -a|--app   application   Application name  (alphanumeric) (required)
  -l|--rhlogin rhlogin     Red Hat login (RHN or OpenShift login with OpenShift Express access) (required)
  -p|--password password   RHLogin password  (optional, will prompt)
  -c|--command command     (start|stop|force-stop|restart|reload|status|destroy|add-alias|remove-alias)
  -L|--embedded-list       List supported embedded cartridges
  -e|--embed               (add|remove|stop|start|restart|status|reload)-$cartridge eg: add-mysql-5.1
  -b|--bypass              Bypass warnings
  -d|--debug               Print Debug info
  -h|--help                Show Usage info
  --alias                  Specify server alias (when using add/remove-alias)
  --config  path           Path of alternate config file
  --timeout #              Timeout, in seconds, for connection


Additional info:
none.

Comment 1 Guillermo Gómez 2011-12-07 15:54:20 UTC
Thanks for the report, im aware, rubygem-json_pure is working on it (he has to branch it for epel6, it's a missing runtime dependency which brakes the installation).

As soon rubygem-json_pure hits the repos, rubygem-rhc will start working again.

Comment 2 Guillermo Gómez 2011-12-18 13:23:50 UTC
rubygem-json_pure branched to epel6, rubygem-rhc should not have any other problem.