Description of problem: "foreman-maintain health check" command failed with error "Error: Unknown Puppet subcommand 'master'" Version-Release number of selected component (if applicable): 6.8 How reproducible: always Steps to Reproduce: 1. Install satellite 6.8 2. Trigger foreman-maintain health check command # foreman-maintain health check Running ForemanMaintain::Scenario::FilteredScenario Failed executing puppet master --configprint ssldir, exit status 1: Error: Unknown Puppet subcommand 'master' See 'puppet help' for help on available puppet subcommands -------------------------------------------------------------------------------- Actual results: foreman-maintain health check failed with error "Error: Unknown Puppet subcommand 'master'" Expected results: puppet error should not come. Additional info:
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28040 has been resolved.
Verified Verified with: - Satellite 6.8.0 snap 3 - rubygem-foreman_maintain-0.6.4-1.el7sat.noarch Test steps: - Run "foreman-maintain health check" - Create empty CA cert request files. - foreman-maintain health check --label puppet-check-no-empty-cert-requests Obsevations: - foreman-maintain health check command executed successfully. - puppet-check-no-empty-cert-requests check worked as expected. - No error related to puppet.
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 (Satellite 6.8 Satellite Maintenance 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/RHBA-2020:4365