Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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:
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.
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.
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.
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: