Hide Forgot
Description of problem: Run Openscap scan does not work for ansible deployments. Version-Release number of selected component (if applicable): - Satellite 6.6.0 snap 12 How reproducible: always Steps to Reproduce: 1. Create a host with scap configured via ansible. 2. Run Openscap scan from satellite UI. Actual results: - 'Run scan for all OpenSCAP policies on host' job fails. Expected results: - 'Run scan for all OpenSCAP policies on host' job should pass and generate reports. Additional info: - The issue seems to be occurring because of job template used for Run OpenSCAP scans only works for scap deployments using puppet and not for ansible deployments. - There is also one more bug filed for Run Opesnscap scan https://bugzilla.redhat.com/show_bug.cgi?id=1712345
Created redmine issue https://projects.theforeman.org/issues/27628 from this bug
Upstream bug assigned to oprazak@redhat.com
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27628 has been resolved.
Verified: Verified with: - Satellite 6.7.0 snap 7 - tfm-rubygem-foreman_openscap-2.0.2-1.el7sat.noarch Test steps: 1. Create a host with scap configured via ansible. 2. Run Openscap scan from satellite UI. Observation: - 'Run scan for all OpenSCAP policies on host' job completed successfully and generated scap reports.
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, 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-2020:1454