OpenSCAP reports are not visible in the Red Hat Satellite 6 WebUI.
Environment
- Red Hat Satellite 6
Issue
- OpenSCAP reports are not visible in the Red Hat Satellite WebUI under
Hosts >> Report.
Resolution
-
To fix this, please follow the below steps.
# hammer capsule list // To find all the Capsules # hammer capsule info --id <ID> // Replace the Capsule ID listed above and check if it has the OpenSCAP feature. # hammer host update --id <Host_ID> --openscap-proxy-id <OpenSCAP_Capsule_ID> // Replace the Capsule ID which has the OpenSCAP feature installed, this can be viewed from the second command output. -
Once done, run
foreman_scap_clientcommand on the client machine and verifyHosts >> Reportson Red Hat Satellite WebUI , which would show the new reports uploaded.
For more KB articles/solutions related to Red Hat Satellite 6.x OpenSCAP Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x OpenSCAP Issues
Root Cause
-
OpenSCAPproxy was not assigned to host.[root@sat6 ~]# hammer host info --id 1 Id: 1 Name: satellite.example.com Organization: Default Organization Environment: production Puppet CA Id: 1 Puppet Master Id: 1 Cert name: satellite.example.com Managed: no Installed at: Last report: Network: IP: MAC: Domain: example.local Network interfaces: 1) Id: 1 Identifier: eth0 Type: interface (primary, provision) MAC address: IP address: FQDN: Operating system: Architecture: x86_64 Operating System: RedHat 7.5 Build: no Custom partition table: Parameters: All parameters: Additional info: Owner Id: Owner Type: Enabled: yes Model: VMware Virtual Platform Comment: OpenSCAP Proxy: // No OpenSCAP Proxy server assigned to Host.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.