Bug 1440298

Summary: Cannot generate HTML guide error on Scap policy
Product: Red Hat Satellite Reporter: maneesh verma <mverma>
Component: SCAP PluginAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.8CC: apitanga, bbuckingham, bkearney, egolov, jcallaha, mhulan, mverma, oprazak, sjagtap, szadok
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: foreman_openscap 0.7.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:54:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1502001    
Bug Blocks:    
Attachments:
Description Flags
guide page none

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