Ansible Facts lost in Foreman after CentOS update

Ansible Facts lost in Foreman after CentOS update. After the CentOS 8 Stream patch update the Ansible Fact upload won’t work anymore. All Ansible facts of new installed or updated Hosts are lost. Other Facts (RedHat, Discovery) still exist. Ansible Version before the update 2.14.0. After the update 2.14.2. A downgrade test to Ansible 2.14.0 resolves the behavior.

Foreman and Proxy versions: 3.5.1

Foreman and Proxy plugin versions: Foreman_ansible 10.1.0

How can I resolve the problem wihtout downgrading Ansible to an older Version?

Best regards,
Tom

what version of ansible-collection-theforeman-foreman do you have?

3.8.0-1

So you updated the OS, but did not update the Foreman packages?

The latest version of ansible-collection-theforeman-foreman is 3.10.0-1 and a fix for the issue you’re seeing was published in 3.9.0-2 (explanation what happened can be found here: Foreman callback reports that requests is not installed after CentOS 8 Stream latest update).

Thank you for your quick response! Ok, I will install the fix asap! :+1: :blush: