Bug 1480595
Summary: | Error on visiting the show guide button for oscap policy | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sanket Jagtap <sjagtap> | ||||||||||
Component: | SCAP Plugin | Assignee: | Marek Hulan <mhulan> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> | ||||||||||
Severity: | high | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 6.3.0 | CC: | akarimi, bbuckingham, bkearney, Jordan.T.Larson, mhaicman, mhulan, mmccune, nkathole, oprazak, sghai, sjagtap, wsato | ||||||||||
Target Milestone: | Unspecified | Keywords: | Regression, Triaged | ||||||||||
Target Release: | Unused | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
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-04-13 13:29:48 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, 1545584 | ||||||||||||
Bug Blocks: | |||||||||||||
Attachments: |
|
Sanket, could you please upload the production.log? The trace would help greatly. Ah, Sanket uploaded the trace in png, next time please copy it from production log, it helps copying paths :-) Anyway it's clear that it was caused by rubocop fixes that automatically added h method to model where it's unavailable. Created redmine issue http://projects.theforeman.org/issues/20599 from this bug Upstream bug assigned to mhulan Upstream bug assigned to mhulan Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20599 has been resolved. FailedQA Version Tested: Satellite-6.3 Snap 16 steps: 1. Created policy 2. Clicked on show guide button Clicking on show guide button shows 500 Internal server error. Created attachment 1326957 [details]
screenshot of UI
Created attachment 1326958 [details]
log in production.log file
Nikhil, this is most likely caused by the issue in openscap package. Seems like http://projects.theforeman.org/issues/17839. Please verify version of openscap on you capsule rpm -q openscap if it's lower than 1.2.15, please upgrade it first. That's not a bug in Satellite. Otherwise please provide capsule logs. Marek, I found openscap-1.2.14 version for latest rhel 7.4. So as dependency is from rhel base OS, we can't verify this bug unless we get 1.2.15 version in rhel. # rpm -q openscap openscap-1.2.14-2.el7.x86_64 # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.4 (Maipo) I agree that you can't verify this, but I don't think it should be considered FailedQA. I suggest you move it back to ON_QA. For the reference, this is an upstream fix in openscap project https://github.com/OpenSCAP/openscap/pull/745. You can file a bug against RHEL and set it as a blocker for this. Moving this back to ON_QA...will verify this with openscap-1.2.15. Created attachment 1388935 [details]
guide page
Moving the bug to ON_QA , because on the latest brew build for 7.4 zstream from comment #18 is still able to reproduce the issue. Sanket, is this VERIFIED then? if so, we can close this out as CLOSED:CURRENTRELEASE Yes , this is verified with the build shipped with 7.4.5 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/RHBA-2018:1126 |
Created attachment 1312123 [details] Error Description of problem: Version-Release number of selected component (if applicable): Satellite 6.3.0 snap 10 How reproducible: Steps to Reproduce: 1.Create a oscap Policy 2.Click on the show guide button , on the policy page 3. Actual results: Oops, we're sorry but something went wrong undefined method `h' for #<ForemanOpenscap::Policy:0x007f1469c92848> Expected results: No error, guide should be displayed Additional info: