Project

General

Profile

Actions

Bug #29042

closed

Applied Errata report no longer works when last reboot is included

Added by Tomer Brisker about 4 years ago. Updated almost 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 #1

Updated by Samir Jha about 4 years ago

  • Target version set to Katello 3.16.0
  • Triaged changed from No to Yes
Actions #2

Updated by Samir Jha about 4 years ago

  • Assignee set to Samir Jha
Actions #3

Updated by Samir Jha about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8584 added
Actions #4

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases Katello 3.16.0 added
Actions #5

Updated by Samir Jha about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Ian Ballou almost 4 years ago

  • Category set to Errata Management
Actions

Also available in: Atom PDF