Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Having a Content Host in a CV, promoting the CV to get a new errata installable to that C.Host, WebUI does not show the newly installable errata.
Version-Release number of selected component (if applicable):
Satellite 6.4.2
How reproducible:
100%
Steps to Reproduce:
1. Have a Content Host that lacks some errata (i.e. fully update it, and then run:
yum downgrade openssh openssh-clients openssh-server polkit bind-license bind bind-libs-lite -y
three times, to ensure few errata can be applied)
2. Have the C.Host in a Content View "frozen" in past (with exclude filter "errata newer than 1.1.2018")
3. Ensure the host has no applicable errata (due to the old content in the CV):
a) WebUI: Hosts -> Content Hosts -> "Installable Updates" for the C.H. shows nothing
b) Details of the Content Host shows in "Installable Errata" also nothing
c) In Errata tab of the C.Host, no errata installable either
d) yum update / yum --security check-update shows nothing
4. remove the exclude filter from the CV and publish the CV
5. wait till the CV publish is completed
6. re-check 3.
Actual results:
6.
a) and b) checks from 3) shows no applicable errata
c) and d) does show applicable errata
Expected results:
also a) and b) to show applicable errata
Additional info:
workaround: run:
foreman-rake katello:import_applicability
Yet another adjacent bug:
Changing CV of a C.Host, errata applicability is not recalculated at all. And here even import_applicability does not help, or reg.app. task doesnt help..:-o
(shall I file new BZ for that?)
(In reply to Pavel Moravec from comment #3)
> Yet another adjacent bug:
>
> Changing CV of a C.Host, errata applicability is not recalculated at all.
> And here even import_applicability does not help, or reg.app. task doesnt
> help..:-o
>
> (shall I file new BZ for that?)
Raised as https://bugzilla.redhat.com/show_bug.cgi?id=1700406
Followed Pavel's step above with slight modification.
Steps to Reproduce:
1. Spin up a content host that is registered to the satellite.
2. Have a content view with some errata.
3. Fully update an errata and install a package (In this instance we did gzip).
4. Run yum downgrade gzip three times to ensure that it's 3 version down from the latest.
5. Create a yum filter on the content view which excludes the any errata that is newer than 1.1.2015 (This is based on the downgrade of the gzip from 2018 to 2015). This will make the content host with the content view "frozen" in the past.
6. Ensure the host has no applicable errata (due to the old content in the CV):
a) WebUI: Hosts -> Content Hosts -> "Installable Updates" for the C.H. shows nothing
b) Details of the Content Host shows in "Installable Errata" also nothing
c) In Errata tab of the C.Host, no errata installable either
d) yum update / yum --security check-update shows nothing
7. remove the exclude filter from the CV and publish the CV
8. wait till the CV publish is completed
9. re-check 6.
Expected results:
a) b) c) and d) should show applicable errata
Actual results:
a) b) c) and d) does show applicable errata
Verified on 6.6 snap 7
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.
https://access.redhat.com/errata/RHSA-2019:3172