Bug #26354
closedSome errata are showing more Installable hosts than Applicable hosts in errata page.
Description
This issues will happen when an erratum is associated to 2 or more repositories and a content host is bound to these repositories.
This is the steps to reproduce.
1) Enable 'rhel-7-server-rpms' and 'rhel-7-server-optional' rpms repositories and sync them from upstream.
2) Create a CV name 'rhel-7' and add the above 2 repos to the CV. Publish and promote the CV.
3) Pick a RHEL 7 vm that has something to update. RHEL 7.5 is a good candidate. Register the host to CV 'rhel-7' and enable the 2 repos.
4) On the host run the following commands to make sure Satellite has the updated package profile and enabled repos and trigger the calculate applicability
katello-package-upload -f
katello-enabled-repos-upload -f
5) Once the foreman tasks are finished successfully go to the errata page, you should be able to see some installable errata counts are double up.
Web UI -> Content -> Errata