Bug 2120299

Summary: 'This host has errata that are applicable, but not installable' message incorrectly appears
Product: Red Hat Satellite Reporter: Jeremy Lenz <jlenz>
Component: Errata ManagementAssignee: Jeremy Lenz <jlenz>
Status: CLOSED ERRATA QA Contact: addubey
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: pcreech
Target Milestone: 6.12.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.5.0.7-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:35:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeremy Lenz 2022-08-22 13:14:43 UTC
The message in $Subject can appear incorrectly because it's based on the host's stored errata counts, which are not updated immediately.

One way to reproduce is

1. new host details > Errata > select all > Apply
2. Stay on that screen until the job completes

Expected: You see the 'All errata up-to-date' screen with the green check
Actual: You see 'This host has errata that are applicable, but not installable.' After refreshing the page, the 'All errata up-to-date' screen appears.

Suggestion/brainstorm

1. maybe have a link to recalculate errata from that screen?
2. make sure recalculating errata updates the content facet's stored errata counts

Comment 1 Jeremy Lenz 2022-08-22 13:14:46 UTC
Created from redmine issue https://projects.theforeman.org/issues/35398

Comment 2 Jeremy Lenz 2022-08-22 13:14:47 UTC
Upstream bug assigned to None

Comment 3 Bryan Kearney 2022-08-26 20:05:24 UTC
Upstream bug assigned to jlenz

Comment 4 Bryan Kearney 2022-08-26 20:05:26 UTC
Upstream bug assigned to jlenz

Comment 10 errata-xmlrpc 2022-11-16 13:35:34 UTC
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 (Important: Satellite 6.12 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:8506