-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
stream, 6.18.0
-
None
-
False
-
sat-proton
-
None
-
None
-
None
-
None
Description of problem:
When you run
hammer insights inventory generate-report -organization-id=$ID -no-upload
The report is saved in
/var/lib/foreman/red_hat_inventory/uploads/
and not in
/var/lib/foreman/red_hat_inventory/generated_reports/
How reproducible:
100%
Is this issue a regression from an earlier version:
No
Steps to Reproduce:
1. Try to generate an insights report for some organization via CLI
2. Observe paths where the report should be saved
Actual behavior:
Hammer cli command hammer insights inventory generate-report seems to ignore --no-upload option
Expected behavior:
Hammer cli command hammer insights inventory generate-report should work accordingly to --no-upload option
Business Impact / Additional info:
Found in stream 131,
during TFA of
test_positive_generate_reports_job_cli_disconnected
satellite-6.19.0-0.1.stream.el9sat.noarch
foreman-3.17.0-0.1.develop.20250915192830gitd2051bb.el9sat.noarch
katello-4.19.0-0.1.master.el9sat.noarch
rubygem-hammer_cli_foreman_rh_cloud-1.0.5-1.el9sat.noarch
rubygem-foreman_rh_cloud-13.0.2-1.el9sat.noarch
rubygem-foreman_theme_satellite-15.3.2-1.el9sat.noarch
Red Hat Enterprise Linux release 9.6 (Plow)