Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1829881

Summary: Satellite struggles to process huge amount of ansible facts
Product: Red Hat Satellite Reporter: Jan Senkyrik <jsenkyri>
Component: FactAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Radek Mynar <rmynar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: ktordeur, mhulan, tbrisker
Target Milestone: UnspecifiedKeywords: Performance, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-22 11:37:18 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 Jan Senkyrik 2020-04-30 14:09:20 UTC
Description of problem:
It looks like that Satellite struggles to process ansible facts during ansible role execution when target hosts have unusually high amount of ansible facts. Example of such host could be a RHV host that holds a lot of NICs.

How reproducible:
I'd expect this to be reproducible if one has an access to a suitable environment.

More information will follow in my next private comment.


Kind regards,
Jan

Comment 5 Marek Hulan 2020-05-19 11:59:51 UTC
What can quickly help is to setup the facts blacklist in Settings. Navigate to Settings -> Provisioning -> Exclude pattern for facts stored in satellite, add more fact names. As you can see in the default value, * wildcard can be used. Looking at the logs, it seems there were around 7k facts. That may not be only caused by multiple NICs. Make sure you don't have ohai installed on the machine. Ansible by default uses multiple fact providers and ohai (facter from chef) is extremely verbose. This can be disabled in ansible.cfg.

Comment 7 Tomer Brisker 2021-11-22 11:37:18 UTC
Closing as CURRENTRELEASE following comment #6, seems fixes included in 6.10 resolved this issue.