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.
...
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