Project

General

Profile

Actions

Bug #18278

closed

Verbosity level 0 triggers "TypeError no implicit conversion of nil into String" on run playbook command

Added by Ivan Necas over 7 years ago. Updated about 6 years ago.

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

Description

2017-01-26T22:50:16 c65b928c [foreman-tasks/dynflow] [E] error while dispatching request to runner f0bb6102-c574-45fd-bb36-45ac683773c5:TypeError no implicit conversion of nil into String:
 |  /home/inecas/Projects/ws/foreman-rex/foreman-tasks/lib/foreman_tasks_core/runner/command_runner.rb:8:in `spawn'
 | /home/inecas/Projects/ws/foreman-rex/foreman-tasks/lib/foreman_tasks_core/runner/command_runner.rb:8:in `initialize_command'
 | /home/inecas/Projects/ws/foreman-rex/foreman_ansible/lib/foreman_ansible_core/playbook_runner.rb:21:in `block in start'
 | /home/inecas/Projects/ws/foreman-rex/foreman_ansible/lib/foreman_ansible_core/playbook_runner.rb:20:in `chdir'
 | /home/inecas/Projects/ws/foreman-rex/foreman_ansible/lib/foreman_ansible_core/playbook_runner.rb:20:in `start'
 | /home/inecas/Projects/ws/foreman-rex/foreman-tasks/lib/foreman_tasks_core/runner/dispatcher.rb:29:in `start_runner'
 | /home/inecas/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/dynflow-0.8.18/lib/dynflow/actor.rb:6:in `on_message'
 | /home/inecas/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/context.rb:46:in `on_envelope'
 | /home/inecas/Projects/ws/foreman-rex/foreman-tasks/lib/foreman_tasks_core/runner/dispatcher.rb:22:in `on_envelope'
 | /home/inecas/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
 | /home/inecas/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/inecas/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/dynflow-0.8.18/lib/dynflow/actor.rb:26:in `on_envelope'
 | /home/inecas/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/concurrent-ruby-edge-0.2.3/lib/concurrent/actor/behaviour/abstract.rb:

Workaround is to increase the verbosity level

Actions

Also available in: Atom PDF