Bug 1009958

Summary: Improper/missing multi_json installed - required for node-installer
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: PackagingAssignee: Jason Montleon <jmontleo>
Status: CLOSED CURRENTRELEASE QA Contact: Garik Khachikyan <gkhachik>
Severity: high Docs Contact:
Priority: unspecified    
Version: NightlyCC: dcleal, ehelms, gkhachik, mkoci
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Welton 2013-09-19 15:02:21 UTC
Description of problem:
When trying to run node-installer, an error is thrown regarding incorrect/missing multi_json gem.  

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

Satellite-6.0.2-RHEL-6-20130919.0

How reproducible:



Steps to Reproduce:
1. yum -y install node-installer

2. node-install --parent-fqdn cloud-qe-18.idm.lab.bos.redhat.com --dns-interface virbr1 --dns-zone katellolabs.org --dhcp true --dhcp-interface virbr1 --pulp false --tftp true --puppet true --puppetca true --register-in-foreman true --oauth-consumer-secret "Cl4Infk8emwu7EN2bcUuO1ZtwWml3vt2" --verbose
3. view results

Actual results:

/usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find multi_json (>= 1.3.6) amongst [clamp-0.6.1, foreman_api-0.1.6, highline-1.6.1, json-1.6.8, kafo-0.0.14, little-plugger-1.1.3, logging-1.8.1, mime-types-1.19, oauth-0.4.7, rack-1.4.1, rack-protection-1.5.0, rake-0.9.2.2, rdoc-3.12, rest-client-1.6.1, rkerberos-0.1.1, ruby-progressbar-1.0.2, rubyipmi-0.6.0, sinatra-1.3.6, tilt-1.3.3] (Gem::LoadError)
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:772:in `activate_dependencies'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:761:in `each'
	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:745:in `activate'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:775:in `activate_dependencies'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:761:in `each'
	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:745:in `activate'
	from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:209:in `try_activate'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:58:in `require'
	from /usr/sbin/node-install:4
[root@cloud-qe-18 ~]# rpm -qa|grep multi_json
ruby193-rubygem-multi_json-1.3.6-4.el6sat.noarch
[root@cloud-qe-18 ~]# gem list | grep multi_json
[root@cloud-qe-18 ~]# 


Expected results:

node installer works and/or we should've had a dependency fail on install.

Additional info:
[10:54] < inecas> cswiii: it need non-scl version
[10:54] < dcleal> yeah, we should have a non-ruby193 one, I can't see it in the snap

Comment 2 Dominic Cleal 2013-09-19 15:50:47 UTC
rubygem-logging is missing the dependency on multi_json, see:

https://github.com/theforeman/foreman-packaging/commit/3931091c
thirdparty master: 377ce9a81aa38885845e0d510ad9765c958f8c1b

rubygem-multi_json (non-SCL) then needs to be added to satisfy the dependency.  See upstream again, the spec is both SCL and non-SCL capable.

Comment 6 Garik Khachikyan 2013-10-22 11:49:25 UTC
# VERIFIED

and it actually works. node-installer runs fine for both pulp node and the rest (both cases).

checked on provided latest drop:
===
candlepin-0.8.25-1.el6sam.noarch
candlepin-cert-consumer-dionysus.usersys.redhat.com-1.0-1.noarch
candlepin-scl-1-5.el6_4.noarch
candlepin-scl-quartz-2.1.5-5.el6_4.noarch
candlepin-scl-rhino-1.7R3-1.el6_4.noarch
candlepin-scl-runtime-1-5.el6_4.noarch
candlepin-selinux-0.8.25-1.el6sam.noarch
candlepin-tomcat6-0.8.25-1.el6sam.noarch
createrepo-0.9.9-21.2.pulp.el6sat.noarch
elasticsearch-0.19.9-8.el6sat.noarch
katello-1.4.6-44.el6sat.noarch
katello-agent-1.4.4-3.el6sat.noarch
katello-all-1.4.6-44.el6sat.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-certs-tools-1.4.4-1.el6sat.noarch
katello-cli-1.4.3-26.el6sat.noarch
katello-cli-common-1.4.3-26.el6sat.noarch
katello-common-1.4.6-44.el6sat.noarch
katello-configure-1.4.7-7.el6sat.noarch
katello-configure-foreman-1.4.7-7.el6sat.noarch
katello-foreman-all-1.4.6-44.el6sat.noarch
katello-glue-candlepin-1.4.6-44.el6sat.noarch
katello-glue-elasticsearch-1.4.6-44.el6sat.noarch
katello-glue-pulp-1.4.6-44.el6sat.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-selinux-1.4.4-4.el6sat.noarch
m2crypto-0.21.1.pulp-8.el6sat.x86_64
mod_wsgi-3.4-1.pulp.el6sat.x86_64
pulp-katello-plugins-0.2-1.el6sat.noarch
pulp-nodes-common-2.3.0-0.22.beta.el6sat.noarch
pulp-nodes-parent-2.3.0-0.22.beta.el6sat.noarch
pulp-puppet-plugins-2.3.0-0.22.beta.el6sat.noarch
pulp-rpm-handlers-2.3.0-0.22.beta.el6sat.noarch
pulp-rpm-plugins-2.3.0-0.22.beta.el6sat.noarch
pulp-selinux-2.3.0-0.22.beta.el6sat.noarch
pulp-server-2.3.0-0.22.beta.el6sat.noarch
python-isodate-0.5.0-1.pulp.el6sat.noarch
python-oauth2-1.5.170-3.pulp.el6sat.noarch
python-pulp-agent-lib-2.3.0-0.22.beta.el6sat.noarch
python-pulp-bindings-2.3.0-0.22.beta.el6sat.noarch
python-pulp-common-2.3.0-0.22.beta.el6sat.noarch
python-pulp-puppet-common-2.3.0-0.22.beta.el6sat.noarch
python-pulp-rpm-common-2.3.0-0.22.beta.el6sat.noarch
python-qpid-0.18-5.el6_4.noarch
qpid-cpp-client-0.14-22.el6_3.x86_64
qpid-cpp-client-ssl-0.14-22.el6_3.x86_64
qpid-cpp-server-0.14-22.el6_3.x86_64
qpid-cpp-server-ssl-0.14-22.el6_3.x86_64
ruby193-rubygem-foreman-katello-engine-0.0.17-6.el6sat.noarch
ruby193-rubygem-katello-foreman-engine-0.0.12-3.el6sat.noarch
ruby193-rubygem-katello_api-0.0.3-4.el6sat.noarch
ruby193-rubygem-ldap_fluff-0.2.2-2.el6sat.noarch
signo-katello-0.0.23-2.el6sat.noarch

Comment 9 Bryan Kearney 2014-04-24 17:11:02 UTC
This was verified and delivered with MDP2. Closing it out.

Comment 10 Bryan Kearney 2014-04-24 17:12:04 UTC
This was delivered and verified with MDP2. Closing the bug.