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:
Updated by The Foreman Bot about 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
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 0f791ba5c9d6624160bb207e7b2e6dba43108b04.
Updated by Dominic Cleal almost 8 years ago
- Translation missing: en.field_release set to 209
Actions