Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1498403 - Downloading/Viewing full arf reports shows undefined method `digest' for nil:NilClass
Summary: Downloading/Viewing full arf reports shows undefined method `digest' for nil:...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: SCAP Plugin
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Ondřej Pražák
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-04 08:50 UTC by Nikhil Kathole
Modified: 2019-09-26 15:37 UTC (History)
5 users (show)

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


Attachments (Terms of Use)
screenshot of UI -> view full report (32.64 KB, image/png)
2017-10-04 08:50 UTC, Nikhil Kathole
no flags Details
screenshot of UI while downloading arf reports (52.19 KB, image/png)
2017-10-04 08:52 UTC, Nikhil Kathole
no flags Details
scap report deleted When policy deleted (594.31 KB, application/octet-stream)
2017-10-16 10:34 UTC, Nikhil Kathole
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21209 0 Normal Closed Downloading/Viewing full arf reports shows undefined method `digest' for nil:NilClass 2020-08-24 14:00:41 UTC

Description Nikhil Kathole 2017-10-04 08:50:08 UTC
Created attachment 1334090 [details]
screenshot of UI -> view full report

Description of problem: We were testing oscap on satellite 6.3 snap 18. After deleting policy, we were trying to view full arf reports/ download arf reports of deleted policy.But it showed an error as "
Error: Failed to downloaded ARF report in HTML: ERF12-1831 [ProxyAPI::ProxyException]: Unable to get HTML version of requested report from Capsule ([NoMethodError]: undefined method `digest' for nil:NilClass) for Capsule https://dell-per630-fc-04.rhts.eng.bos.redhat.com:9090/compliance/"

Version-Release number of selected component (if applicable): Satellite 6.3 snap 18

How reproducible: always


Steps to Reproduce:
1. Create scap policy and generate arf report for a host 
2. Make sure report has generated.
3. Now delete the scap policy
4. Navigate to Hosts -> Report
5. Try to View Full Report
6. Try to download report

Actual results:
while downloading, it showed an error as "
Error: Failed to downloaded ARF report in HTML: ERF12-1831 [ProxyAPI::ProxyException]: Unable to get HTML version of requested report from Capsule ([NoMethodError]: undefined method `digest' for nil:NilClass) for Capsule https://dell-per630-fc-04.rhts.eng.bos.redhat.com:9090/compliance/"

and View full report page shows
"ERF12-1831 [ProxyAPI::ProxyException]: Unable to get HTML version of requested report from Capsule ([NoMethodError]: undefined method `digest' for nil:NilClass) for Capsule https://dell-per630-fc-04.rhts.eng.bos.redhat.com:9090/compliance/"

Expected results:


Additional info:

Comment 1 Nikhil Kathole 2017-10-04 08:52:45 UTC
Created attachment 1334091 [details]
screenshot of UI while downloading arf reports

Comment 3 Ondřej Pražák 2017-10-05 11:30:37 UTC
Created redmine issue http://projects.theforeman.org/issues/21209 from this bug

Comment 5 Nikhil Kathole 2017-10-16 10:19:47 UTC
VERIFIED

Version Tested:
Satellite-6.3 Snap 20

steps:
1. Created scap reports for policy of host
2. Deleted policy
3. Navigate to Hosts -> Report

Found when policy deleted, scap reports generated by policy are also deleted.

Comment 6 Nikhil Kathole 2017-10-16 10:34:55 UTC
Created attachment 1339158 [details]
scap report deleted When policy deleted

Comment 7 Bryan Kearney 2018-02-21 16:40:54 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

Comment 8 Bryan Kearney 2018-02-21 16:43:36 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.