Project

General

Profile

Actions

Bug #26354

closed

Some errata are showing more Installable hosts than Applicable hosts in errata page.

Added by Hao Yu about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Hao Yu about 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

Actions #2

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8018 added
Actions #3

Updated by The Foreman Bot about 5 years ago

  • Pull request https://github.com/Katello/katello/pull/8019 added
Actions #4

Updated by Hao Yu about 5 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/8018)
Actions #5

Updated by Jonathon Turel about 5 years ago

  • Target version set to Katello 3.11.1
  • Triaged changed from No to Yes
Actions #6

Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/Katello/katello/pull/8078 added
Actions #7

Updated by Hao Yu almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF