Bug #26624

Installable Errata not recalculated after CV publish/promote

Added by Pavel Moravec about 3 years ago. Updated about 3 years ago.

Content Views
Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


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:

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:
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

Associated revisions

Revision 64ed269e (diff)
Added by Pavel Moravec about 3 years ago

Fixes #26624: Update applicability counts on CV publish&promote

When CV publish or promote happens, we recalculate errata applicability
per each repo, but dont update the cummulative counts. Users see old values until
applicability is imported again or re-counted elsewhere.

Signed-off-by: Pavel Moravec <>


#1 Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request added

#2 Updated by Samir Jha about 3 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.12.0

#3 Updated by Pavel Moravec about 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF