Hosts registered to the Satellite server cannot upload the compliance report
Issue
- Assign SCAP policies to the server on the Red Hat Cloud Console but it doesn't reflect any changes on the server itself.
- Cannot run a compliance report for the system.
-
All KVM guests (RHEL 9.4 and 9.5) and the hypervisor (RHEL 8.10) are attached to multiple SCAP policies, but all give the same error when running compliance commands:
$ insights-client --compliance System is not associated with any policies. Assign policies using the Compliance web UI.non-zero return code. ... $ insights-client --compliance-policies An error has occurred while communicating with the API.
-
Error in the insights-client.log file:
2025-02-04 08:06:22,784 DEBUG insights.specs.datasources.compliance:239 Content of the response <Response [422]> - b'{"message":"Cloud request failed","headers":{},"response":"{\\"errors\\":[\\"found unpermitted parameter: :branch_id\\"]}"}' 2025-02-04 08:06:22,784 ERROR insights.specs.datasources.compliance:216 An error has occurred while communicating with the API.
Environment
- Red Hat Satellite
- Red Hat Insights Compliance
- Red Hat Enterprise Linux 7.x, 8.x and 9.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.