Bug 1440298 - Cannot generate HTML guide error on Scap policy
Summary: Cannot generate HTML guide error on Scap policy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: SCAP Plugin
Version: 6.2.8
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: Sanket Jagtap
URL:
Whiteboard:
Depends On: 1502001
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-07 20:04 UTC by maneesh verma
Modified: 2021-09-09 12:14 UTC (History)
10 users (show)

Fixed In Version: foreman_openscap 0.7.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
guide page (155.27 KB, image/png)
2018-01-31 12:13 UTC, Sanket Jagtap
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20599 0 None None None 2017-10-19 11:05:33 UTC
Foreman Issue Tracker 20813 0 None None None 2017-10-19 11:04:51 UTC

Description maneesh verma 2017-04-07 20:04:46 UTC
Description of problem:

Cannot generate HTML guide error on Scap policy

How reproducible:
Every time when we try to click on show guide button on open scap policy

Steps to Reproduce:
1. Create a new scap content and upload the scap file.
2.Click on Hosts>Policies
3.Click on desired policy show guide button.

Actual results:
Cannot generate HTML guide for test2/

Expected results:
It should show the guide information of the policy

Additional info:

Comment 1 Marek Hulan 2017-04-10 06:51:01 UTC
Thanks for the report, could we get some better description, e.g. error message you see? Also attaching a production.log would greatly help. What scap content file did you use to create a policy? Does that happen for every policy?

Comment 4 Marek Hulan 2017-04-13 10:44:10 UTC
Resetting the need info, we did not receive the requested info yet.

Comment 10 Andre Pitanga 2017-10-12 14:00:44 UTC
I was able to reproduce the issue on a fresh installation of Sat 6.2.

I'm using https://www.redhat.com/security/data/metrics/ds/com.redhat.rhsa-RHEL7.ds.xml as SCAP content.

There are no errors logged in production.log.

There are no errors returned in web UI, other than "cannot load" message in the case description.

I can't say if it happens with all policies as this is the first one I tried.

Comment 12 Ondřej Pražák 2017-10-19 11:04:48 UTC
Connecting redmine issue http://projects.theforeman.org/issues/20813 from this bug

Comment 13 Ondřej Pražák 2017-10-19 11:05:30 UTC
Connecting redmine issue http://projects.theforeman.org/issues/20599 from this bug

Comment 15 Sanket Jagtap 2018-01-31 12:12:42 UTC
Build: Satellite 6.3.0 snap 33 

Tested with brew build
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=645087

with versions,
openscap.x86_64 0:1.2.16-4.el7                                                                       openscap-scanner.x86_64 0:1.2.16-4.el7 

I was able to successfully scap guide page
PFA

Comment 16 Sanket Jagtap 2018-01-31 12:13:30 UTC
Created attachment 1388937 [details]
guide page

Comment 17 Satellite Program 2018-02-21 16:54:17 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.