-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
6.19.0
-
False
-
sat-proton
-
None
-
None
-
None
-
None
Description:
Satellite 6.19 offers a redesigned experience of the Inventory Upload page. Here now, for each Organization, we have three options present, i.e., Download Report, Generate and upload report, and Generate Report. The Generate Report option is newly introduced here in the WebUI.
But it seems the "Download Report" option never gives us the report generated by the "Generate Report" option.
How Reproducible:
100%
Affected version:
Satellite 6.19.0 RC1 ( snap 2.0 )
Steps to Reproduce and actual behavior:
- Install the mentioned version of satellite and register a few hosts with it, with insights enabled.
- Go to WebUI --> Red Hat Lightspeed --> Inventory Upload page
- Expand the Organization name
We have three buttons there i.e. Download Report, Generate and upload report, and Generate Report
1. First do, Generate and upload report, and that data is saved in /var/lib/foreman/red_hat_inventory/uploads/done/ ( which shows in UI as well )
2. Switch to minimal data collection mode and then do Generate report, and that data is saved in /var/lib/foreman/red_hat_inventory/generated_reports/ ( which shows in UI as well )
3. But now if I click on Download Report, that data is always being downloaded and given to me from /var/lib/foreman/red_hat_inventory/uploads/done/ .. Whic
The report I generated in Step 2 is different i.e. has obfuscated content and i may want to review it before the next Auto Upload sends that data back to cloud.. But since i am always being served with the old data from step 1, I can't see the obfuscated data.
Expected Results:
Since we are providing a UI option to generate report ONLY, Then we should have the option to download that generated report itself instead of always getting the report from uploads/done folder ( which is wrong in this case ).
Some logic should be implemented for Download Report action, which checks for the latest data generated and downloads it from the right location.
Additional Info:
It's not directly a regression as the Download option always worked like that, but since now, we have exposed a generate-only option in UI, the download button needs to behave accordingly.
- duplicates
-
SAT-41462 Hammer download-report command ignores path option for not uploaded report
-
- Release Pending
-