Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-29606

Issue while downloading the OpenSCAP HTML report from Satellite Server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • SCAP Plugin
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Important
    • None

      *Environment: *
      -satellite - satellite-6.13.7-1.el8sat.noarch

      Description of problem:

       - Randomly facing below error on satellite Web UI when trying to download the OpenSCAP HTML report from Satellite Server.
      ----------
      ERF12-1831 [ProxyAPI::ProxyException]: Unable to get HTML version of requested report from Capsule ([RestClient::Exceptions::ReadTimeout]: Timed out reading data from server) for Capsule https://abc.example.com:9090/compliance/
      ----------

      • But while running command from CLI not able to download "ARF report in HTML" but able to download in xml as below
        -----------------------------
      1. hammer arf-report download-html --id 92883 --path /tmp
        Could not download the ARF report in HTML:
        Error: Timed out reading data from server
        ------------------------------
      • Correct "OpenSCAP capsule is selected on Satellite" and running below command along with default value had no luck
      1. satellite-installer --foreman-proxy-plugin-openscap-timeout 360
      2. Administer -> Settings -> General -> Capsule request timeout: (Default value as 360)
      • Cleaning old tasks and ran the installer but still the same error was observed.
      • Suspecting that the html file could be too large to be downloaded.

      Workaround:

      • Manually Convert the downloaded xml

      For example: oscap oval generate report scan-oval-results.xml > ssg-scan-oval-report.html

      Actual behavior:

      • Downloading OpenSCAP HTML report on Satellite Web UI and CLI randomly failing.
      • Able to download in xml format and convert to HTML format from satellite Web CLI.

      Expected behavior:

      • Downloading OpenSCAP HTML report on Satellite Web UI and CLI should be successful.
      • Manual conversion of xml to HTML from satellite CLI should not be need.

      Business Impact / Additional info:
      Trouble to create reports for infrastructure regarding the cis compliance for respective servers
       

              Unassigned Unassigned
              rhn-support-bgajjava Bharti Gajjavarapu
              Bharti Gajjavarapu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: