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):
Steps to Reproduce:
1. render Applied Errata report
2. make sure to set Include Last Reboot to yes
It should render the report with last reboot information
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
Created redmine issue https://projects.theforeman.org/issues/29042 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/29042 has been resolved.
Verified with Sat 6.7 snap 15 using reproducer from OP.
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.