Project

General

Profile

Actions

Bug #16644

closed

task generated by upload-salt-reports: no implicit conversion of String into Integer

Added by Arthur Lutz about 8 years ago. Updated about 5 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

On Actions::ForemanSalt::ReportImport

/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/services/foreman_salt/report_importer.rb:72:in `[]'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/services/foreman_salt/report_importer.rb:72:in `block in import_log_messages'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/services/foreman_salt/report_importer.rb:61:in `each'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/services/foreman_salt/report_importer.rb:61:in `import_log_messages'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/services/foreman_salt/report_importer.rb:140:in `process_normal'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/services/foreman_salt/report_importer.rb:36:in `import'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/services/foreman_salt/report_importer.rb:10:in `block in import'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/services/foreman_salt/report_importer.rb:8:in `each'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/services/foreman_salt/report_importer.rb:8:in `map'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/services/foreman_salt/report_importer.rb:8:in `import'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/lib/actions/foreman_salt/report_import.rb:14:in `block in run'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:72:in `as'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:78:in `as_anonymous_admin'
/usr/share/foreman/vendor/ruby/2.1.0/gems/foreman_salt-6.0.0/app/lib/actions/foreman_salt/report_import.rb:13:in `run'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `call'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:30:in `with_progress_calculation'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:16:in `run'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:in `run'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/middleware/world.rb:30:in `execute'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action.rb:505:in `block (2 levels) in execute_run'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in `catch'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in `block in execute_run'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `call'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `block in with_error_handling'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `catch'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `with_error_handling'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action.rb:499:in `execute_run'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/action.rb:260:in `execute'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message'
/usr/share/foreman/vendor/ruby/2.1.0/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns'
/usr/share/foreman/vendor/ruby/2.1.0/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap'
/usr/share/foreman/vendor/ruby/2.1.0/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns'
/usr/share/foreman/vendor/ruby/2.1.0/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value'
/usr/share/foreman/vendor/ruby/2.1.0/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?'
/usr/share/foreman/vendor/ruby/2.1.0/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each'
/usr/share/foreman/vendor/ruby/2.1.0/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?'
/usr/share/foreman/vendor/ruby/2.1.0/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:12:in `on_message'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/context.rb:46:in `on_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/dynflow-0.8.11/lib/dynflow/actor.rb:26:in `on_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:161:in `process_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:95:in `block in on_envelope'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:115:in `block in schedule_execution'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/serialized_execution.rb:18:in `call'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/serialized_execution.rb:18:in `call'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/serialized_execution.rb:96:in `work'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `call'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
/usr/share/foreman/vendor/ruby/2.1.0/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
/usr/share/foreman/vendor/ruby/2.1.0/gems/logging-2.1.0/lib/logging/diagnostic_context.rb:450:in `call'
/usr/share/foreman/vendor/ruby/2.1.0/gems/logging-2.1.0/lib/logging/diagnostic_context.rb:450:in `block in create_with_logging_context'

I don't see anything strange in the input, what should I be looking for ?

Actions #1

Updated by Kristoffer Tångfelt almost 8 years ago

Arthur Lutz wrote:

On Actions::ForemanSalt::ReportImport

[...]

I don't see anything strange in the input, what should I be looking for ?

I'm also having the same error in our environment.

Actions #2

Updated by Bernhard Suttner over 5 years ago

Does this still happen? How can it be reproduced?

Actions #3

Updated by Bernhard Suttner about 5 years ago

  • Status changed from New to Feedback
Actions #4

Updated by Arthur Lutz about 5 years ago

Bernhard Suttner wrote:

Does this still happen? How can it be reproduced?

I'm sorry I don't have the setup anymore to reproduce. Thanks for taking the time to take a look and ask for feedback.

Actions

Also available in: Atom PDF