Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1858145 - Host errata status not refresh after CV publish/promote
Summary: Host errata status not refresh after CV publish/promote
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: 6.9.0
Assignee: Jeremy Lenz
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-17 02:47 UTC by Hao Chang Yu
Modified: 2023-12-15 18:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1919436 (view as bug list)
Environment:
Last Closed: 2021-04-21 13:17:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30427 0 Normal Closed Host errata status not refresh after CV publish/promote 2021-02-02 16:26:24 UTC
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:17:57 UTC

Description Hao Chang Yu 2020-07-17 02:47:44 UTC
Description of problem:
Bug 1699786 fixed the host errata count after publishing/promoting a CV but the hosts' errata status are not recalculated.

Steps to Reproduce:
1. Go to Web UI -> Administer -> Settings -> Content -> Installable errata from Content View -> Yes
2. To simulate a host has updated errata, you can make use of CV filtering to exclude all the ET from the CV
3. Register a host to the CV and enable repos.
4. Ensure the host has green status flag. Hosts -> hostname page -> Errata status shows "All errata applied"
5. Remove the exclude filter from the CV and then publish a new version.
6. Revisit the host page.

Actual results:
Errata status still showing "All Errata applied" even the host has some installable errata

Expected results:
Update Errata status

Comment 5 Bryan Kearney 2020-08-11 20:03:45 UTC
Upstream bug assigned to jlenz

Comment 6 Bryan Kearney 2020-09-16 20:03:56 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30427 has been resolved.

Comment 7 Brad Buckingham 2021-01-08 21:02:03 UTC
The fix for this one is already in the early Satellite 6.9 snaps; therefore, aligning to release and updating state.

Comment 8 Tasos Papaioannou 2021-02-03 15:56:57 UTC
Verified on 6.9.0 snap 11.0.

1.) Navigate to Administer > Settings > Content. Change 'Installable errata from Content View' to Yes.
2.) Import a manifest. Enable and sync the Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server x86_64 7Server repo.
3.) Create, publish, and promote a content view, with a filter that excludes RHBA-2020:5282.
4.) Create an activation key for the new content view and lifecycle environment, and register the content host.
5.) Install rh-ruby25-ruby available from the content view:

# yum -y install rh-ruby25-ruby
# rpm -q rh-ruby25-ruby
rh-ruby25-ruby-2.5.5-7.el7.x86_64

6.) Verify in the web UI that the content host has a green status flag. The content host's Details tab shows no installable errata.
7.) Remove the exclude filter from the content view, then publish and promote a new version.
8.) Verify that the content host now shows 1 bug fix erratum applicable/installable.

Comment 11 errata-xmlrpc 2021-04-21 13:17:39 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 (Moderate: Satellite 6.9 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-2021:1313


Note You need to log in before you can comment on or make changes to this bug.