Project

General

Profile

Actions

Bug #29042

closed

Applied Errata report no longer works when last reboot is included

Added by Tomer Brisker almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions

Also available in: Atom PDF