Container image Smartstate Analysis fails with a OpenSCAP error

Solution Verified - Updated -

Issue

  • Facing an issue with the Red Hat image scanner. This is affecting the cloudforms image scanning and the base image scanning.
  • When trying to use OpenSCAP scanning capabilities in Red Hat CloudForms it fails.
  • Error:

    Unable to run OpenSCAP: OpenSCAP error: 1: exit status 1 Input: [xccdf eval --results-arf /var/tmp/image-inspector-scan-results-090256853/results-arf.xml /tmp/com.redhat.rhsa-RHEL7.ds.xml.bz2] Output: OpenSCAP Error: Premature end of data in tag HTML line 1 [oscap_source.c:301] Entity: line 8: parser error : Opening and ending tag mismatch: P line 6 and BODY </BODY> ^ Entity: line 9: parser error : Opening and ending tag mismatch: BODY line 3 and HTML </HTML> ^ Entity: line 10: parser error : Premature end of data in tag HTML line 1 Unable to parse XML at: '/tmp/com.redhat.rhsa-RHEL7.ds.xml.bz2' [oscap_source.c:303]
    

Environment

  • Red Hat CloudForms 4.6
  • Red Hat OpenShift Container Platform 3.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.