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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content