Description of problem: When selecting a specific errata and view what hosts it's applicable to, it shows a list. When checking "Only show content hosts where the errata is currently installable in the host's Lifecycle Environment", it shows much larger list, almost all hosts. This isn't right Installable always means applicable also. Applicable might not be installable (if not published). Errata can't be installable if it's not applicable. So, errata which is installable for host is also applicable for host. So, applicable list should be larger than installable Version-Release number of selected component (if applicable): 6.2 How reproducible: Always Steps to Reproduce: 1. Go to Content > Errata 2. Select one or more errata 3. Click apply 4. A list of host will be listed 5. Click on the checkbox "Only show content hosts where the errata is currently installable in the host's Lifecycle Environment" 6. New list will be populated with more hosts Actual results: I can see some host, which have installable errata but those hosts do not show up for applicable. Expected results: The list of the applicable host should be greater than the list of installable host, because Installable always means applicable also.
Created redmine issue http://projects.theforeman.org/issues/16762 from this bug
Upstream Katello PR: https://github.com/Katello/katello/pull/6369
Verified in Sat 6.3 snap 5, installable content hosts are now listed correctly in the errata view.
Please add verifications steps for this bug to help QE verify
The following scenario allowed for recreation of the issue (prior to the fix): Scenario (from UI) - have multiple content hosts that have installable errata; however, have different errata for some of the hosts... e.g. host 1 has errata A & B, host 2 has errata A & B, host 3 has errata C - go to Content > Errata select errata id for A - click 'Content Hosts' - observe that hosts 1 & 2 are listed - click checkbox next to 'Only show content hosts where the errata is currently installable in the host's Lifecycle Environment.' Result: - all 3 hosts are shown; however, host 3 does not need errata A
Verified in Satellite 6.2.9-1 using steps from comment #15. Installable hosts for an erratum are now listed correctly
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1191