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