Description of problem: compliance/scap_contents/bulk_upload API endpoint not working. Version-Release number of selected component (if applicable): - Satellite 6.9.0 snap 4 How reproducible: - Always Steps to Reproduce: 1. curl -k -u "admin:changeme" -X POST -H "Content-Type: application/json; charset=UTF-8" https://satellite.example.com/api/compliance/scap_contents/bulk_upload -d '{"type": "default"}' Actual results: { "error": {"message":"uninitialized constant ForemanOpenscap::BulkUpload"} } Expected results: Default Scap content uploaded to Satellite successfully. Additional info:
Created redmine issue https://projects.theforeman.org/issues/31475 from this bug
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31475 has been resolved.
Verified Verified with: - tfm-rubygem-foreman_openscap-4.1.2-1.el7sat.noarch - satellite 6.9.0 snap 8 Test steps: 1. curl -k -u "admin:changeme" -X POST -H "Content-Type: application/json; charset=UTF-8" https://satellite.example.com/api/compliance/scap_contents/bulk_upload -d '{"type": "default"}' Observation: Default Scap content uploaded to Satellite successfully.
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.9 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:1313