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
Updated by Hao Yu over 5 years ago
Looks like the 'uniq' method is removed in this commit. Not sure why.
https://github.com/Katello/katello/pull/7273/files#diff-1739022428b7fe94d6a65929f3f453a1L85
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8018 added
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/Katello/katello/pull/8019 added
Updated by Hao Yu over 5 years ago
- Pull request deleted (
https://github.com/Katello/katello/pull/8018)
Updated by Jonathon Turel over 5 years ago
- Target version set to Katello 3.11.1
- Triaged changed from No to Yes
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/Katello/katello/pull/8078 added
Updated by Hao Yu over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|23f441f24884022fb9bebba410fd9cf6995a6fab.