Project

General

Profile

Actions

Bug #19425

open

Timeout when running job

Added by Sebastien LAMY over 7 years ago. Updated over 7 years ago.

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

Description

Hi,

I updated Foreman from 1.11.4 to 1.14.3 (through 1.12.4 and 1.13.4) with rpm

It seems to be ok, but I have a wreid issue
When I run a job with remote exec, I have this message :
Failed to initialize: Dynflow::ExecutionPlan::Steps::Error - ERF42-6909 [Foreman::Exception]: The smart proxy task 8f4725b8-41fa-4b1f-94cf-75e53cfa3333 failed.
and it's failed.
But the command is ok

On Foreman proxy log I have :
[2017-04-28 11:21:28.986 #28740] DEBUG -- dynflow: Step 8f4725b8-41fa-4b1f-94cf-75e53cfa3333: 2 got event #<ForemanTasksCore::Runner::Update:0x000000038fc750>
[2017-04-28 11:21:28.986 #28740] DEBUG -- dynflow: Step 8f4725b8-41fa-4b1f-94cf-75e53cfa3333: 2 suspended >> running in phase Run ForemanRemoteExecutionCore::Actions::RunScript
[2017-04-28 11:21:28.988 #28740] DEBUG -- dynflow: Step 8f4725b8-41fa-4b1f-94cf-75e53cfa3333: 2 running >> success in phase Run ForemanRemoteExecutionCore::Actions::RunScript
[2017-04-28 11:21:28.991 #28740] DEBUG -- dynflow: Step 8f4725b8-41fa-4b1f-94cf-75e53cfa3333: 5 pending >> running in phase Run SmartProxyDynflowCore::Callback::Action
[2017-04-28 11:21:29.002 #28740] ERROR -- action: Connection refused - connect(2) for "localhost" port 3000 (Errno::ECONNREFUSED)

In setting.yml, Foreman is NOT running on port 3000
  1. Endpoint for reverse communication
    :foreman_url: https://my.server.company.com

I can't find anywhere why the remote command tries to connect on port 3000
Can someone help ?

Thanks

Actions

Also available in: Atom PDF