Added a new client to my new foreman 3.6.1 instance, and cannot Run Puppet Once from the clients menu.
Puppet runs successfully.
Foreman and Proxy versions:
Latest. Installed 3.5.2 yesterday, upgraded this morning to 3.6.1 immediately before adding new client.
Foreman and Proxy plugin versions:
Distribution and version:
Foreman on Almalinux 8.7, puppet client on freebsd 13.1
Other relevant data:
SSH from foreman server to the client works fine manually:
sudo -u foreman-proxy ssh root@host -i /var/lib/foreman-proxy/ssh/id_rsa_foreman_proxy
Remote directory /var/tmp is executable:
ls -ltr /var/ | grep tmp drwxrwxrwt 3 root wheel 512 Mar 29 14:41 tmp
I created a test.sh script in the tmp dir and I’m able to SSH in as above, and run the script sucessfully.
Here is what shows up in the proxy.log on the foreman server when i try to Run Puppet Once:
2023-03-29T13:46:51 c56842bb [I] Started GET /dynflow/tasks/count state=running 2023-03-29T13:46:51 c56842bb [I] Finished GET /dynflow/tasks/count with 200 (1.05 ms) 2023-03-29T13:46:51 c56842bb [I] Started POST /dynflow/tasks/launch 2023-03-29T13:46:51 c56842bb [I] Finished POST /dynflow/tasks/launch with 200 (9.28 ms) 2023-03-29T13:46:55 c56842bb [E] Script execution failed 2023-03-29T13:47:01 c56842bb [E] <Dynflow::Action::WithSubPlans::SubtaskFailedException> A sub task failed