-
Epic
-
Resolution: Done-Errata
-
Blocker
-
None
-
Improve support to download generated host inventory reports
-
In Progress
-
3
-
3.15
-
False
-
sat-proton
-
Feature
-
-
Done
Right now disconnected users can use Discovery service to export their host inventory and upload it to Subscription service.
It can be challenging to set up in true disconnected environments as you need a connected system to obtain the container images and for the import as well. The process also appears to be a little bit confusing in scenario when the Discovery service needs to run on a disconnected system. It is a valid & supported scenario according to [0]. However in '6.1. Downloading and sending insights reports to the Hybrid Cloud Console' [1] prerequisites we state:
—
The discovery command line interface must be installed on the same system as the discovery server so that you can run the following procedure from the command line interface. You cannot download and send an insights report from the graphical user interface.
—
This condition cannot be met as naturally the upload won't be possible if the discovery CLI has to run on the same server as disconnected discovery server.
I believe we could make the export/import more user friendly for disconnected Satellite users. Possibly without the need to setup Discovery.
Satellite can already generate the report via inventory upload plugin. To generate the report archive one can create a custom rake script as described in [2].
The last missing piece is to allow users to upload the archive without using discovery CLI. Please consider this Jira to be an RFE for uploading the archive via console.redhat.com UI.
Note:
Adding the rake script to Satellite by default & making it executable via WebUI would be a great addition as well but that's for Satellite engineering and I suppose therefore outside the scope of this Jira.
[0] https://access.redhat.com/documentation/en-us/subscription_central/2023/html/installing_and_configuring_discovery/assembly-installing-containers-disconnected-inst
[1] https://access.redhat.com/documentation/en-us/subscription_central/2023/html/using_discovery/assembly-sending-reports-to-hybrid-cloud-console-gui#proc-downloading-sending-insights-reports-gui_assembly-sending-reports-to-hybrid-cloud-console-gui-ctxt
[2] https://access.redhat.com/solutions/5414471
QE Acceptance criteria
- UI has subscription_connection_enabled setting reflected.
- End to end to test
- Report is generated but not uploaded
- Report can be downloaded both.
- UI
- End to end test for Hammer - Robotello
- hammer insights inventory generate-report (with a --no-upload flag passed)
- hammer insights inventory download-report
- hammer insights inventory sync
- hammer insights cloud-connector enable --organization-id ...
- is depended on by
-
SAT-20140 Simplify import to Subscription service for disconnected Satellite users
-
- Closed
-
- links to
-
RHBA-2025:155337
Important: Satellite 6.18.0 new version release