-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
6.18.0
-
1
-
False
-
Important
-
Proton Sprint 1, Proton Sprint 2, Proton Sprint 3, Proton Sprint 4
-
sat-proton
-
None
-
None
-
None
-
To Do
-
Yes
-
Fail
Description of problem:
After setting 'Subscription connection enabled' to NO and triggering the report generation from Satellite WebUI → Insights → Inventory Upload → Generate and Upload Report, the expected report is not created in the /var/lib/foreman/red_hat_inventory/generated_reports/ directory on the Satellite server.
Environment: Satellite 6.18.0 ( stream 106 )
How reproducible: Always
Is this issue a regression from an earlier version: The 'Subscription connection enabled' is newly introduced on Satellite 6.18
Steps to Reproduce:
1. Navigate to Satellite WebUI -> Administer -> Settings -> Content -> 'Subscription connection enabled' -> Set this to NO. This will disable the Insights Upload
2. Navigate to Satellite WebUI -> Insights -> Inventory Upload and click on 'Generate Report'
2. On the WebUI, the below logs are displayed:
"Successfully generated /var/lib/foreman/red_hat_inventory/generated_reports/report_for_1.tar.xz for organization id 1"
3. The 'Generate report job' task is generated on Satellite WebUI -> Monitor -> Tasks which executed successfully with status of Stopped/Success
Actual behavior:
On Satellite CLI, there are no reports present within '/var/lib/foreman/red_hat_inventory/generated_reports/' directory. The report is present in '/var/lib/foreman/red_hat_inventory/uploads/done' directory. But since the Upload is disabled by setting 'Subscription connection enabled' to NO, the report should be present in '/var/lib/foreman/red_hat_inventory/generated_reports/' directory
Expected behavior:
The generated report should be present within the '/var/lib/foreman/red_hat_inventory/generated_reports/' directory
Business Impact / Additional info:
The report can be downloaded using 'Download Report' button within Satellite WebUI -> Insights -> Inventory Upload' and has the required content