Bug #26624
closedInstallable Errata not recalculated after CV publish/promote
Description
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):
Any (incl. katello-3.11)
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