i have just installed the latest version of foreman (1.13.0) on Centos 7.2. everything works well except when i am trying to run remote execution on a machine (installed via foreman-installer) it fails with :
1: Error initializing command: Net::SSH::ConnectionTimeout - Net::SSH::ConnectionTimeout 2: Exit status: EXCEPTION basically it says "pending" on the job status and after about 2 minutes it throws the above message on the host details. it seems the remote host doesn't get the request for some reason. all features are enabled on the smart proxy section. FW & Selinux are disabled. according to foreman-proxy logs there is nothing suspicious: accept: 192.168.249.222:49686 D, [2016-10-19T11:35:35.979099 #5730] DEBUG -- : Rack::Handler::WEBrick is invoked. D, [2016-10-19T11:35:35.988823 #5730] DEBUG -- : verifying remote client 192.168.220.222 against trusted_hosts ["foreman.example.com"] D, [2016-10-19T11:35:35.991867 #5730] DEBUG -- : Proxy request from foreman.example.com:8443/dynflow/tasks/count to https://foreman.example.com :8008/tasks/ count D, [2016-10-19T11:35:36.081274 #5730] DEBUG -- : Proxy request status 200 - #<Net::HTTPOK:0x000000025f36b8> I, [2016-10-19T11:35:36.082396 #5730] INFO -- : 192.168.220.222 - - [19/Oct/2016:11:35:36 +0000] "GET /dynflow/tasks/count?state=running HTTP/1.1" 200 29 0.0939 D, [2016-10-19T11:35:36.123514 #5730] DEBUG -- : close: 192.168.220.222:49686 D, [2016-10-19T11:35:36.343377 #5730] DEBUG -- : accept: 192.168.220.222:49688 D, [2016-10-19T11:35:36.349244 #5730] DEBUG -- : Rack::Handler::WEBrick is invoked. D, [2016-10-19T11:35:36.350386 #5730] DEBUG -- : verifying remote client 192.168.220.222 against trusted_hosts ["foreman.example.com"] D, [2016-10-19T11:35:36.350751 #5730] DEBUG -- : Proxy request from foreman.example.com:8443/dynflow/tasks/ to https://foreman.example.com:8008/tasks/ D, [2016-10-19T11:35:36.852074 #5730] DEBUG -- : Proxy request status 200 - #<Net::HTTPOK:0x00000002a812e8> I, [2016-10-19T11:35:36.852681 #5730] INFO -- : 192.168.220.222 - - [19/Oct/2016:11:35:36 +0000] "POST /dynflow/tasks/ HTTP/1.1" 200 50 0.5026 D, [2016-10-19T11:35:36.893861 #5730] DEBUG -- : close: 192.168.220.222:49688 D, [2016-10-19T11:36:36.346125 #5730] DEBUG -- : accept: 192.168.220.222:49697 D, [2016-10-19T11:36:36.352459 #5730] DEBUG -- : Rack::Handler::WEBrick is invoked. D, [2016-10-19T11:36:36.353314 #5730] DEBUG -- : verifying remote client 192.168.220.222 against trusted_hosts ["foreman.example.com"] D, [2016-10-19T11:36:36.353691 #5730] DEBUG -- : Proxy request from foreman.example.com:8443/dynflow/tasks/1063de40-3671-4a2d-9370-22068b642009/status to http s://foreman.example.com:8008/tasks/1063de40-3671-4a2d-9370-22068b642009/status D, [2016-10-19T11:36:36.406618 #5730] DEBUG -- : Proxy request status 200 - #<Net::HTTPOK:0x00000002afc178> I, [2016-10-19T11:36:36.407055 #5730] INFO -- : 192.168.220.222 - - [19/Oct/2016:11:36:36 +0000] "GET /dynflow/tasks/1063de40-3671-4a2d-9370-22068b642009/status HTTP/1.1" 200 1882 0.0539 D, [2016-10-19T11:36:36.447722 #5730] DEBUG -- : close: 192.168.220.222:49697 any ideas what could be the reason ? is it possibly a bug ? -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
