Bug 1936862 - Filter inventory query only to hosts that belong to the current Satellite
Summary: Filter inventory query only to hosts that belong to the current Satellite
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Inventory
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.9.0
Assignee: Shimon Shtein
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-09 11:29 UTC by Shimon Shtein
Modified: 2021-04-21 13:26 UTC (History)
2 users (show)

Fixed In Version: 3.0.18
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:26:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:26:53 UTC

Description Shimon Shtein 2021-03-09 11:29:04 UTC
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.

Comment 1 Jameer Pathan 2021-03-22 12:54:10 UTC
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.

Comment 4 errata-xmlrpc 2021-04-21 13:26:15 UTC
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


Note You need to log in before you can comment on or make changes to this bug.