Bug #29042
closedApplied Errata report no longer works when last reboot is included
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1787729
Description of problem:
When I render applied errata report, rendering fails with the message "Association named 'uptime_fact' was not found on Host::Managed; perhaps you misspelled it?"
Version-Release number of selected component (if applicable):
6.7
How reproducible:
100%
Steps to Reproduce:
1. render Applied Errata report
2. make sure to set Include Last Reboot to yes
Actual results:
Error printed
Expected results:
It should render the report with last reboot information
Additional info:
This is caused by the refactoring of reported data facet, we no longer use facts for uptime/last reboot information. The logic in "load_errata_applications" macro defined in Katello needs to be updated. See https://github.com/theforeman/foreman/pull/6843 for more details.
This would be a regression
Updated by Samir Jha almost 5 years ago
- Target version set to Katello 3.16.0
- Triaged changed from No to Yes
Updated by Samir Jha almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8584 added
Updated by The Foreman Bot almost 5 years ago
- Fixed in Releases Katello 3.16.0 added
Updated by Samir Jha almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|b528f36ea754985d3084c2ccc5452c2db71891d4.