Multiple issues after upgrade to 2.52 (Ansible task lives status, ansible tasks on Windows Clients)

Problem: Ansible jobs (monitor > jobs > run ansible roles > client) don’t show the real-time status of running tasks

Expected outcome: A real-time status of the current task running

Foreman and Proxy versions: 2.52

Foreman and Proxy plugin versions: Ansible 3.1.1

Distribution and version: CentOS 7

Other relevant data: Upgraded using the foreman documentation from 2.3.3 → 2.4.1 → 2.5.2
On 2.3.3 it was still working as intended. After the upgrade to 2.5.2 the task status updates only when the job is finished, either successfully or failed. Didn’t test on 2.4.1.

There also seems to be an issue with either ansible or the proxy since on windows clients the tasks randomly fail due to “access denied”, “another installation already running” or it just stops for 30+ minutes but we can’t see where the issue might be, because we don’t have a live status of the current task being taken. This also wasn’t an issue before the upgrade.

A third issue that just arose is that we cannot delete clients because of an TFTP issue

Delete TFTP PXELinux config for <HOSTNAME> task failed with the following error: ERF12-7299 [ProxyAPI::ProxyException]: Unable to delete TFTP boot entry for 00:0c:29:aa:e6:00 ([RestClient::NotFound]: 404 Not Found) for proxy https://<HOSTNAME>:8443/tftp

For the ansible part see https://community.theforeman.org/t/ansible-job-invocations-no-longer-have-live-dynamic-result-updates-after-upgrading-to-foreman-2-5

1 Like