Bug 1930151

Summary: Refactor insights-client uploads process to rh_cloud plugin.
Product: Red Hat Satellite Reporter: Shimon Shtein <sshtein>
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: ahumbe, aruzicka, dsinglet, zhunting
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat_access-2.2.19 foreman_rh_cloud-3.0.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 13:11:14 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:

Comment 2 Jameer Pathan 2021-03-22 10:57:39 UTC
*** Bug 1931390 has been marked as a duplicate of this bug. ***

Comment 5 Jameer Pathan 2021-03-24 05:22:05 UTC
Verified

Verified with:
- Satellite 6.9.0 snap 18
- tfm-rubygem-foreman_rh_cloud-3.0.18.1-1.el7sat.noarch
- tfm-rubygem-redhat_access-2.2.19-1.el7sat.noarch

Test steps:
- Configure RH cloud Insights/Inventory plugin (Go to Configure > Inventory upload or Configure > Insights)
- Register a few hosts to Satellite.
- Register hosts to insights (insights-client --register)
- Check if hosts are present on https://cloud.redhat.com/insights/inventory 
- Sync inventory status (Go to Configure > Inventory upload)
- Sync Insights recommendations (Go to Configure > Insights)

Observations:
- No issues faced during insights-client registration.
- Hosts were present on cloud side of Insights (https://cloud.redhat.com/insights/inventory) and had following tags:

Name	        	Value					Tag source

location		Default Location			satellite
content_view		Default Organization View		satellite
organization		Default Organization			satellite
organization_id		1					satellite
lifecycle_environment	Library					satellite
satellite_instance_id	4a6dd41d-ds43-4538-8a7d-89fe1f14sajk	satellite

Comment 8 errata-xmlrpc 2021-04-21 13:11:14 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