Project

General

Profile

Actions

Bug #17837

closed

foreman-rake hosts:scan_out_of_sync fails with "LoadError: cannot load such file -- ping"

Added by Daniel Lobato Garcia almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Rake tasks
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1408184
Description of problem:

On Satellite v 6.2.5 below rake task fails with error:

  1. foreman-rake hosts:scan_out_of_sync
    rake aborted!
    LoadError: cannot load such file -- ping
    /opt/rh/rh-ror41/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in `require'
    /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `block in require'
    /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:232:in `load_dependency'
    /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
    /usr/share/foreman/lib/tasks/hosts.rake:18:in `block (2 levels) in <top (required)>'
    Polyglot::PolyglotLoadError: Failed to load ping using extensions deface, rb
    /opt/rh/rh-ror41/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:55:in `load'
    /opt/rh/rh-ror41/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:68:in `rescue in require'
    /opt/rh/rh-ror41/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in `require'
    /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `block in require'
    /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:232:in `load_dependency'
    /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
    /usr/share/foreman/lib/tasks/hosts.rake:18:in `block (2 levels) in <top (required)>'
    Tasks: TOP => hosts:scan_out_of_sync
    (See full trace by running task with --trace)

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

How reproducible:
Always

Steps to Reproduce:
1. Run # foreman-rake hosts:scan_out_of_sync
2.
3.

Actual results:

Expected results:
This command should work or should have alternate utility.

Additional info:

Actions #1

Updated by Dominic Cleal almost 8 years ago

  • Category set to Rake tasks
Actions #2

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4127 added
Actions #3

Updated by Anonymous almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Dominic Cleal almost 8 years ago

  • Translation missing: en.field_release set to 209
Actions

Also available in: Atom PDF