Actions
Bug #17837
closedforeman-rake hosts:scan_out_of_sync fails with "LoadError: cannot load such file -- ping"
Difficulty:
Triaged:
Bugzilla link:
Pull request:
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:
- 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