Bug 2027052
Summary: | The redhat.satellite.foreman plugin is unable to collect all facts for the target systems as expected when using default api | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sayan Das <saydas> |
Component: | Ansible Collection | Assignee: | Evgeni Golov <egolov> |
Status: | CLOSED ERRATA | QA Contact: | Griffin Sullivan <gsulliva> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.9.7 | CC: | egolov, gsulliva, pcreech, zhunting |
Target Milestone: | 6.11.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | ansible-collection-redhat-satellite-3.1.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-05 14:30:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sayan Das
2021-11-27 14:53:47 UTC
Verified on RHEL 7.9 and RHEL 8.5 Satellite 7.0 snap 9 The satellite inventory collection plugin redhat.satellite.foreman correctly fetches all system facts and the custom facts uploaded by ansible for the system. Steps to Reproduce: - Same as listed above Expected Results: # ansible-inventory -i my.foreman.yml --host rhel8.example.com | grep -i bdem "ansible_local::bdem": null, "ansible_local::bdem::bdem_custom_facts": null, "ansible_local::bdem::bdem_custom_facts::bdem_cust_fact": "Testje2", "ansible_local::bdem::bdem_custom_facts::bdem_environment": "DEV", Actual Results: # ansible-inventory -i my.foreman.yml --host rhel8.example.com | grep -i bdem "ansible_local::bdem": null, "ansible_local::bdem::bdem_custom_facts": null, "ansible_local::bdem::bdem_custom_facts::bdem_cust_fact": "Testje2", "ansible_local::bdem::bdem_custom_facts::bdem_environment": "DEV", Additional Notes: No huge differences between rhel versions. On RHEL 8, I had an error to remove a duplicate line in the ansible.cfg "host_key_checking = False". RHEL 7 seems to just ignore it. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5498 |