-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-8.10
=> Issue:
When the subscription-manager register command is run on a RHEL machine (for instance, RHEL 9.4 upgraded from RHEL 8 via Leapp), it process the facts located in /etc/rhsm/facts/ on that machine. If the facts file in this directory is excessively large, such as having over 20,000 lines, the command execution may be delayed and could fail with a "Connection error: Broken pipe (error code 32)."
=> Expectation:
The "facts" in subscription-manager/Candlepin were never intended to serve as a universal data repository for systems. Currently, each new fact results in a new entry in the Candlepin "facts" table, leading to significant table growth. Leapp needs to carefully manage the /etc/rhsm/facts/leapp.facts file it generates, as an increase in facts contributes to greater overhead and can, as observed, potentially hinder system registration entirely.