Trying to run a job on a remote host. Simple, just ping -c 9 google.com, as a given user (svc-dso). Running it from the command line on the foreman host works:
root@zztypuppet01:tty3@09:11:32:/var/log # ssh svc-dso@hostname "/bin/ping -c 9 google.com"
*******************************************************************
Authorized use only
*******************************************************************
PING google.com (172.217.9.14) 56(84) bytes of data.
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=1 ttl=51 time=10.8 ms
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=2 ttl=51 time=2.17 ms
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=3 ttl=51 time=2.08 ms
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=4 ttl=51 time=2.10 ms
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=5 ttl=51 time=5.48 ms
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=6 ttl=51 time=2.21 ms
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=7 ttl=51 time=2.25 ms
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=8 ttl=51 time=3.43 ms
64 bytes from dfw28s02-in-f14.1e100.net (172.217.9.14): icmp_seq=9 ttl=51 time=2.32 ms
--- google.com ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8014ms
rtt min/avg/max/mdev = 2.088/3.662/10.886/2.760 ms
root@zztypuppet01:tty3@09:12:04:/var/log #
Expecting output in Foreman to be the nine attempts at pinging google.com.
Also could you please try setting log_level to DEBUG in /etc/smart_proxy_dynflow_core, restarting smart_proxy_dynflow_core service, running the job again and post the resulting logs here?
Another thing which would be good to know is what platform are you on and what version of remote execution you have
Could you remind me of the command to restart that service (“smart_proxy_dynflow_core”), please ? I’ve been up all night and I have no brain this morning. Thank you.