Ansible roles associated with the hostgroups are not automatically applied after new system deployments are completed in Red Hat Satellite 6.10
Environment
- Red Hat Satellite 6.10.1
- Red Hat Satellite 6.10.2
Issue
- After provisioning a new machine , the Ansible roles assigned to the host group are not automatically installed.
Resolution
-
This issue has been reported to the Red Hat Engineering team via Bugzilla 2043701 and has been fixed in Red Hat Satellite 6.10.3 and later.
-
If updating the satellite server to
6.10.3is not possible, then the following workaround can be applied.-
Edit line
112of the following file :/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.1*/app/models/katello/concerns/host_managed_extensions.rb From : refresh_global_status! to: refresh_global_status -
Restart all the services of the satellite server :
# satellite-maintain service restart # hammer ping -
Provision a new machine that uses a hostgroup where Ansible roles are assigned to perform a test system build.
-
- Reach out to Red Hat Technical Support in case of any further assistance will be required.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments