Bug 1970965

Summary: Notification of "Sync Inventory status" is not showing correct synced/disconnected host count.
Product: Red Hat Satellite Reporter: Brad Buckingham <bbuckingham>
Component: RH Cloud - InventoryAssignee: Shimon Shtein <sshtein>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: aruzicka, egolov, jpathan, sshtein
Target Milestone: 6.10.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_rh_cloud-4.0.22 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1970223 Environment:
Last Closed: 2021-11-16 14:11:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1970223    
Bug Blocks:    

Description Brad Buckingham 2021-06-11 14:51:39 UTC
+++ This bug was initially created as a clone of Bug #1970223 +++

Description of problem:
Notification of "Sync Inventory status" is not showing correct synced/disconnected host count.

Version-Release number of selected component (if applicable):
- Satellite 6.9.3 snap 1
- tfm-rubygem-foreman_rh_cloud-3.0.21.1-1.el7sat.noarch

How reproducible:
- Always

Steps to Reproduce:
1. Import a manifest
2. Register a content host to satellite.
3. Add rh_cloud token in settings
4. Go to Configure > Inventory Upload
5. Click on "Sync Inventory status"

Actual results:
- Notification shows 0 synced/disconnected host count.

Expected results:
- Correct synced/disconnected host count is shown.

Additional info:

Comment 1 Jameer Pathan 2021-06-28 12:34:30 UTC
Verified:

Verified with:
- Satellite 6.10.0 snap 6
- tfm-rubygem-foreman_rh_cloud-4.0.22-1.el7sat.noarch

Test steps:
1. Import a manifest
2. Register a satellite content host with insights.
3. Add rh_cloud token in settings
4. Go to Configure > Inventory Upload
5. Click on "Sync Inventory status"

Observation:
- Correct synced/disconnected host count is shown.

Comment 4 errata-xmlrpc 2021-11-16 14:11:39 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.10 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:4702