Instead of fetching all hosts available to the account, only fetch those that already have satellite_id tag set up. The sync hosts status action on Configure -> Inventory page becomes much quicker.
Verified Verified with: - Satellite 6.9.0 snap 18 - tfm-rubygem-foreman_rh_cloud-3.0.18.1-1.el7sat.noarch Test steps: - Have few hosts registered to satellite. - Go to Configure > Inventory upload and Configure Inventory upload plugin. - Sync inventory status Observations: - Inventory synced successfully and seemed to be happening faster than the previous version of the plugin. - No errors observed.
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.9 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-2021:1313