Project

General

Profile

Actions

Bug #4803

closed

"NameError (uninitialized constant MultiJson::LoadError)" when syncing from external yum repo

Added by Jan Hutař over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I have noticed these in /var/log/foreman/production.log while syncing from external repo:

NameError (uninitialized constant MultiJson::LoadError):
  lib/middleware/catch_json_parse_errors.rb:10:in `rescue in call'
  lib/middleware/catch_json_parse_errors.rb:8:in `call'
  lib/middleware/catch_json_parse_errors.rb:9:in `call'

NameError (uninitialized constant MultiJson::LoadError):
  lib/middleware/catch_json_parse_errors.rb:10:in `rescue in call'
  lib/middleware/catch_json_parse_errors.rb:8:in `call'
  lib/middleware/catch_json_parse_errors.rb:9:in `call'

NameError (uninitialized constant MultiJson::LoadError):
  lib/middleware/catch_json_parse_errors.rb:10:in `rescue in call'
  lib/middleware/catch_json_parse_errors.rb:8:in `call'
  lib/middleware/catch_json_parse_errors.rb:9:in `call'

I have these packages:

# rpm -qa | grep -e katello -e foreman | sort
foreman-1.5.0.10-1.el6sat.noarch
foreman-compute-1.5.0.10-1.el6sat.noarch
foreman-libvirt-1.5.0.10-1.el6sat.noarch
foreman-ovirt-1.5.0.10-1.el6sat.noarch
foreman-postgresql-1.5.0.10-1.el6sat.noarch
foreman-proxy-1.5.3-1.el6sat.noarch
foreman-selinux-1.5.0-0.develop.el6sat.noarch
foreman-vmware-1.5.0.10-1.el6sat.noarch
katello-1.5.0-18.el6sat.noarch
katello-apache-1.0-1.noarch
katello-ca-1.0-1.noarch
katello-certs-tools-1.5.5-1.el6sat.noarch
katello-installer-0.0.30-1.el6sat.noarch
pulp-katello-plugins-0.2-1.el6sat.noarch
ruby193-rubygem-foreman-tasks-0.4.0-5.el6sat.noarch
ruby193-rubygem-katello-1.5.0-23.el6sat.noarch
rubygem-foreman_api-0.1.11-4.el6sat.noarch
rubygem-hammer_cli_foreman-0.0.18-8.el6sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.1-4.el6sat.noarch
rubygem-hammer_cli_katello-0.0.3-6.el6sat.noarch
rubygem-katello_api-0.0.8-2.el6sat.noarch
something-foreman-client-1.0-1.noarch
something-foreman-proxy-1.0-1.noarch
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Project changed from Foreman to Katello
  • Triaged set to No

The JSON parse errors middleware appears to work in Foreman on an RPM installation, using ruby193-rubygem-multi_json-1.8.2-1.el6.noarch.rpm. Passing to Katello in case this is specific to the sync mechanism, no Foreman reproducer was supplied.

I'd suggest that bugs in Satellite 6 are reported to RHBZ in the first instance though.

Actions #2

Updated by Justin Sherrill over 10 years ago

  • Translation missing: en.field_release set to 13
Actions #3

Updated by Eric Helms over 10 years ago

  • Category set to API
  • Target version set to 45
  • Difficulty set to easy
  • Triaged changed from No to Yes
Actions #4

Updated by Eric Helms over 10 years ago

  • Target version changed from 45 to 48
Actions #5

Updated by Eric Helms over 10 years ago

  • Status changed from New to Closed

In the latest builds, this has not be reproduced. Please re-open in the event you still see this isssue.

Actions

Also available in: Atom PDF