Description of problem: [global registration] [hammer] - hammer --setup-insights false | no|0 is not working Version-Release number of selected component (if applicable): Satellite 6.10 Snap 7 How reproducible: always Steps to Reproduce: try commands hammer> host-registration generate-command --activation-keys RHEL8_Content_Activation_Key --packages mlocate --force true --setup-insights 0 hammer> host-registration generate-command --activation-keys RHEL8_Content_Activation_Key --packages mlocate --force true --setup-insights false hammer> host-registration generate-command --activation-keys RHEL8_Content_Activation_Key --packages mlocate --force true --setup-insights no Actual results: setup-insights is still running and install the insights package Expected results: setup-insights should not run and do not install insights package as --setup-insights is false Additional info:
*** Bug 1978742 has been marked as a duplicate of this bug. ***
Created redmine issue https://projects.theforeman.org/issues/33121 from this bug
Cherry-pick MR: https://gitlab.sat.engineering.redhat.com/satellite6/foreman/-/merge_requests/584
Verified this with Satellite 6.10 with Snap 12
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 (Moderate: Satellite 6.10 Release), 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/RHSA-2021:4702