Bug 2112386

Summary: Insights client traffic through a Satellite 6.11 Capsule fails
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: InstallationAssignee: Eric Helms <ehelms>
Status: CLOSED ERRATA QA Contact: Gaurav Talreja <gtalreja>
Severity: urgent Docs Contact:
Priority: high    
Version: 6.11.0CC: achadha, ahumbe, aruzicka, ehelms, lstejska, pdwyer, pmendezh, saydas, smeyer, swadeley
Target Milestone: 6.11.2Keywords: PrioBumpGSS, Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-installer-3.1.2.7-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2110222 Environment:
Last Closed: 2022-08-30 19:43:07 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:

Comment 3 Gaurav Talreja 2022-08-09 16:17:03 UTC
Verified

Tested on Satellite 6.11.2 Snap 1.0
Version foreman-installer-3.1.2.7-1.el8sat.noarch

Steps:
1. Setup Satellite 6.11.2 with external capsule
2. Sync EL8 and ansible repos and publish CV on Satellite
3. Sync the above content on the external capsule
4. Register a content host to an external capsule using the global registration template (Under Advanced section=> Setup Insights = yes)

Observations:
Host registered successfully and insight client successfully establishs the connection with the external capsule.
...
=== Begin Upload URL Connection Test ===
Testing: https://<external-capsule>:443/redhat_access/r/insights/uploads/
POST https://<external-capsule>:443/redhat_access/r/insights/uploads/
HTTP Status: 200 OK
HTTP Response Text: {"request_id":"7df2fb061fdd46bbac4c00380b61d44e","upload":{"account_number":"6212943","org_id":"12385942"}}
Successfully connected to: https://<external-capsule>:443/redhat_access/r/insights/uploads/
=== End Upload URL Connection Test: SUCCESS ===

=== Begin API URL Connection Test ===
Testing: https://<external-capsule>:443/redhat_access/r/insights/
GET https://<external-capsule>:443/redhat_access/r/insights/
HTTP Status: 200 OK
HTTP Response Text: {"status":"available"}
Successfully connected to: https://<external-capsule>:443/redhat_access/r/insights/
=== End API URL Connection Test: SUCCESS ===

Connectivity tests completed successfully
See /var/log/insights-client/insights-client.log for more details.
Successfully registered host <satellite>
Automatic scheduling for Insights has been enabled.
Starting to collect Insights data for <satellite>
Uploading Insights data.
Successfully uploaded report from <satellite> to account 6212943.
View the Red Hat Insights console at https://console.redhat.com/insights/
Refreshing subscription data
All local data refreshed
Host [<satellite>] successfully configured.
Successfully updated the system facts.
...

Comment 8 errata-xmlrpc 2022-08-30 19:43:07 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 (Satellite 6.11.2 Async Bug Fix Update), 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/RHBA-2022:6233