Bug 1941096
| Summary: | Report Templates Host - Applied Errata report is empty. | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Bharati Kailas Shahu <bshahu> | |
| Component: | Errata Management | Assignee: | Waldirio M Pinheiro <wpinheir> | |
| Status: | CLOSED ERRATA | QA Contact: | Tasos Papaioannou <tpapaioa> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 6.8.0 | CC: | ahumbe, akaiser, arahaman, dmatoule, ehelms, hyu, janarula, kdeshpan, mhulan, mmccune, myoder, oprazak, rkarimpa, wpinheir | |
| Target Milestone: | 6.10.0 | Keywords: | Triaged | |
| Target Release: | Unused | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1973369 (view as bug list) | Environment: | ||
| Last Closed: | 2021-11-16 14:10:29 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: | ||||
|
Description
Bharati Kailas Shahu
2021-03-19 22:54:01 UTC
Moving to Errata management, has this changed recently? If so, it needs to changed at https://github.com/Katello/katello/blob/b16e577c23c431bea930e86df27144ecac0e113c/app/lib/katello/concerns/base_template_scope_extensions.rb#L98-L165 I took a look into the codebase and it seems Actions::Katello::Host::Erratum::ApplicableErrataInstall is a wrapper around Actions::Katello::Host::Erratum::Install. The wrapper looks whether there's at least some applicable errata and if it's not, it does nothing. If there's is some, it will create Actions::Katello::Host::Erratum::Install for that. In this case, customer may see many Actions::Katello::Host::Erratum::ApplicableErrataInstall because they are regularly applying applicable erratas while there are no applicable errata to be applied. Therefore there's no Actions::Katello::Host::Erratum::Install to report on. Could that be the case? Did they see any applicable errata for the host prior applying? Upstream bug assigned to wpinheir Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32312 has been resolved. Resetting the state since additional fix has been sent for the review. Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32312 has been resolved. Verified on 6.10.0 snap 2.0. Steps: 1. Sync Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server repo. 2. Register a RHEL 7.9 content host and apply applicable errata: Hosts > Content Hosts > click on content host > Errata tab > select errata > Apply Selected > Apply. 3. Generate a report from the Applied Errata report template: Monitor > Report Templates > click Generate for 'Host - Applied Errata'. Fill fields: Filter Errata Type: all Include Last Reboot: no Status: success and click Submit. 4. Open the generated CSV file, and verify that the applied errata are listed. *** Bug 1939538 has been marked as a duplicate of this bug. *** *** Bug 1965379 has been marked as a duplicate of this bug. *** 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 (Moderate: Satellite 6.10 Release), 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-2021:4702 |