Project

General

Profile

Bug #14008

Failed to initialize command: Dynflow::ExecutionPlan::Steps::Error - undefined method `ip' for nil:NilClass

Added by Ohad Levy over 2 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

2016-03-02T13:26:14 [foreman-tasks/action] [E] undefined method `ip' for nil:NilClass (NoMethodError)
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_host_job.rb:82:in `block in find_ip_or_hostname'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_host_job.rb:80:in `each'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_host_job.rb:80:in `find_ip_or_hostname'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_host_job.rb:23:in `plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:461:in `block (3 levels) in execute_plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:34:in `plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:460:in `block (2 levels) in execute_plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `switch_flow'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:364:in `concurrence'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:459:in `block in execute_plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `block in with_error_handling'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `catch'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `with_error_handling'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:458:in `execute_plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:260:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/plan_step.rb:54:in `block in execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/plan_step.rb:53:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:187:in `block (2 levels) in plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `switch_flow'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:267:in `with_planning_scope'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:186:in `block in plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:42:in `plan_phase'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:185:in `plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:175:in `block in plan_with_caller'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:173:in `tap'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:173:in `plan_with_caller'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/with_sub_plans.rb:76:in `block in trigger'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:140:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:140:in `trigger'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/with_sub_plans.rb:76:in `trigger'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_hosts_job.rb:34:in `block in create_sub_plans'
 | /home/foreman/gems/gems/activerecord-4.1.14.1/lib/active_record/relation/delegation.rb:46:in `map'
 | /home/foreman/gems/gems/activerecord-4.1.14.1/lib/active_record/relation/delegation.rb:46:in `map'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_hosts_job.rb:30:in `create_sub_plans'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/with_sub_plans.rb:29:in `initiate'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/with_sub_plans.rb:16:in `block in run'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/with_sub_plans.rb:11:in `run'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_hosts_job.rb:49:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:30:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:30:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/bundler/gems/foreman-tasks-b6029535ee09/app/lib/actions/middleware/keep_current_user.rb:30:in `block in run'
 | /home/foreman/gems/bundler/gems/foreman-tasks-b6029535ee09/app/lib/actions/middleware/keep_current_user.rb:53:in `restore_curent_user'
 | /home/foreman/gems/bundler/gems/foreman-tasks-b6029535ee09/app/lib/actions/middleware/keep_current_user.rb:30:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/progress.rb:30:in `with_progress_calculation'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/progress.rb:16:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:30:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:505:in `block (2 levels) in execute_run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:504:in `catch'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:504:in `block in execute_run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `block in with_error_handling'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `catch'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `with_error_handling'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:499:in `execute_run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:260:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/executors/parallel/worker.rb:12:in `on_message'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/context.rb:46:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/actor.rb:26:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/core.rb:161:in `process_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/core.rb:95:in `block in on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/core.rb:115:in `block in schedule_execution'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/serialized_execution.rb:18:in `call'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/serialized_execution.rb:18:in `call'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/serialized_execution.rb:96:in `work'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `call'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
 | /home/foreman/gems/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `call'
 | /home/foreman/gems/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `block in create_with_logging_context'
2016-03-02T13:26:14 [foreman-tasks/action] [E] undefined method `ip' for nil:NilClass (NoMethodError)
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_host_job.rb:82:in `block in find_ip_or_hostname'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_host_job.rb:80:in `each'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_host_job.rb:80:in `find_ip_or_hostname'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_host_job.rb:23:in `plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:461:in `block (3 levels) in execute_plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:34:in `plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:460:in `block (2 levels) in execute_plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `switch_flow'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:364:in `concurrence'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:459:in `block in execute_plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `block in with_error_handling'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `catch'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `with_error_handling'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:458:in `execute_plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:260:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/plan_step.rb:54:in `block in execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/plan_step.rb:53:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:187:in `block (2 levels) in plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `switch_flow'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:267:in `with_planning_scope'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:186:in `block in plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:42:in `plan_phase'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:185:in `plan'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:175:in `block in plan_with_caller'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:173:in `tap'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:173:in `plan_with_caller'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/with_sub_plans.rb:76:in `block in trigger'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:140:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:140:in `trigger'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/with_sub_plans.rb:76:in `trigger'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_hosts_job.rb:34:in `block in create_sub_plans'
 | /home/foreman/gems/gems/activerecord-4.1.14.1/lib/active_record/relation/delegation.rb:46:in `map'
 | /home/foreman/gems/gems/activerecord-4.1.14.1/lib/active_record/relation/delegation.rb:46:in `map'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_hosts_job.rb:30:in `create_sub_plans'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/with_sub_plans.rb:29:in `initiate'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/with_sub_plans.rb:16:in `block in run'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/with_sub_plans.rb:11:in `run'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-7c3add648914/app/lib/actions/remote_execution/run_hosts_job.rb:49:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:30:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:30:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/bundler/gems/foreman-tasks-b6029535ee09/app/lib/actions/middleware/keep_current_user.rb:30:in `block in run'
 | /home/foreman/gems/bundler/gems/foreman-tasks-b6029535ee09/app/lib/actions/middleware/keep_current_user.rb:53:in `restore_curent_user'
 | /home/foreman/gems/bundler/gems/foreman-tasks-b6029535ee09/app/lib/actions/middleware/keep_current_user.rb:30:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/progress.rb:30:in `with_progress_calculation'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action/progress.rb:16:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:30:in `run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:505:in `block (2 levels) in execute_run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:504:in `catch'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:504:in `block in execute_run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `block in with_error_handling'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `catch'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `with_error_handling'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:499:in `execute_run'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:260:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?'
 | /home/foreman/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/executors/parallel/worker.rb:12:in `on_message'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/context.rb:46:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/dynflow-0.8.10/lib/dynflow/actor.rb:26:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/core.rb:161:in `process_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/core.rb:95:in `block in on_envelope'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
 | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.1/lib/concurrent/actor/core.rb:115:in `block in schedule_execution'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/serialized_execution.rb:18:in `call'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/serialized_execution.rb:18:in `call'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/serialized_execution.rb:96:in `work'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `call'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
 | /home/foreman/gems/gems/concurrent-ruby-1.0.1/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
 | /home/foreman/gems/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `call'
 | /home/foreman/gems/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `block in create_with_logging_context'

Associated revisions

Revision 0575ab9a (diff)
Added by Adam Ruzicka over 2 years ago

Fixes #14008 - Correctly determine host ip

Revision a7dc6e7f
Added by adamruzicka over 2 years ago

Merge pull request #167 from adamruzicka/fix/14008-undef-method-ip

Fixes #14008 - Correctly determine host ip

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Target version set to 99
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/167 added

#2 Updated by Adam Ruzicka over 2 years ago

  • Status changed from Ready For Testing to Closed

#3 Updated by Marek Hulán over 2 years ago

  • Legacy Backlogs Release (now unused) set to 138

#4 Updated by Chris Duryee almost 2 years ago

  • Bugzilla link set to 1388696

Also available in: Atom PDF