Executing openscap scan job from satellite server fails with error - Unexpected disconnect: IOError - closed stream

Solution Verified - Updated -

Issue

  • When running openscap scan on client hosts from the Satellite server, the job fails with the following error.

      1:
    DEBUG: running: oscap xccdf eval  --profile xccdf_org.ssgproject.content_profile_standard_customized --tailoring-file /var/lib/openscap/tailoring
    5a2f98217a9fc2fd410ca7c7e2ca27aaab186e88745f996f43d76c86f3cb4dbc.xml --results-arf /tmp/d20210723-97972-227plk/results.xml /var/lib/openscap/content/
    96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d.xml
      2:
    Unexpected disconnect: IOError - closed stream
      3:
    Exit status: EXCEPTION
    

Environment

  • Red Hat Satellite 6

  • Red Hat Enterprise Linux 6\7\8

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