Actions
Bug #28959
openException raised in case of extremely long output from ssh command
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Foreman-server: 1.24-stable
foreman_tasks plugin: 2.0-stable
foreman_remote_execution plugin: 0.17.x
smart-proxy: develop
smart_proxy_dynflow: master
At first the output can be seen at the console but after some time (some screens of logs?) a "Failed to initialize: StandardError - Job execution failed" is raised and job invocation is marked as failed.
Launching the same command in less verbose mode doesn't cause such behavior.
ESC[32m2020-02-07T18:05:05ESC[0m [ESC[31mEESC[0m|ESC[36mbacESC[0m|] A sub task failed (RuntimeError)
| /home/centos/.rvm/gems/ruby-2.6.3/gems/dynflow-1.4.2/lib/dynflow/action/with_sub_plans.rb:231:in `check_for_errors!'
| /home/centos/.rvm/gems/ruby-2.6.3/gems/dynflow-1.4.2/lib/dynflow/action/with_sub_plans.rb:137:in `try_to_finish'
| /home/centos/.rvm/gems/ruby-2.6.3/gems/dynflow-1.4.2/lib/dynflow/action/with_polling_sub_plans.rb:19:in `poll'
| /home/centos/.rvm/gems/ruby-2.6.3/gems/dynflow-1.4.2/lib/dynflow/action/with_polling_sub_plans.rb:11:in `run'
| /home/centos/foreman_remote_execution/app/lib/actions/remote_execution/run_hosts_job.rb:88:in `run'
| /home/centos/.rvm/gems/ruby-2.6.3/gems/dynflow-1.4.2/lib/dynflow/action.rb:563:in `block (3 levels) in execute_run'
Files
No data to display
Actions