Bug #19323
Content -> Errata & Packages do not take selected organization into consideration
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1443653
Description of problem:
Content -> Errata is showing applicable errata from all the organizations when specific organization is selected in top left menu.
Version-Release number of selected component (if applicable):
Satellite 6.2.8
How reproducible: 100%
Steps to Reproduce:
1. create 2 organizations (org1 & org2)
2. import a manifest in to each org
3. enable a repo (e.g. RHEL 7Server) in each org
4. sync the repo
5. register a host to one org (org1) that will require errata
6. go to org2
7. go to Content -> Errata (select Applicable)
Actual results (one example):
Several errata are listed (with 0 Applicable, 0 Installable)
Expected results:
Don't display errata which is not relevant to any Host in the selected organization
Additional Note:
The same issue exists for Applicable & Upgradeable Packages on Content -> Packages.
Associated revisions
History
#1
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/6754 added
#2
Updated by Brad Buckingham about 5 years ago
- Subject changed from Content -> Errata & Packages do not take selected organization into consideration to Content -> Errata & Packages do not take selected organization into consideration
- Category changed from 111 to Repositories
- Target version set to 181
- Legacy Backlogs Release (now unused) set to 211
#3
Updated by Brad Buckingham about 5 years ago
- Target version changed from 181 to 187
#4
Updated by Brad Buckingham about 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|6d7d85f04e321d6947b18f63b6932e5f0ad94af1.
fixes #19323 - errata/package applicablility should filter on org
The Content -> Errata and Content -> Packages are not taking
in to consideration the organization when determining if the
content (Errata or Packages) are applicable/upgradeable/installable
for hosts. In other words, it is looking at all hosts
across all organizations in the current logic.