Bug #19323

Content -> Errata & Packages do not take selected organization into consideration

Added by Brad Buckingham 6 months ago. Updated 6 months ago.

Status:Closed
Priority:Normal
Assigned To:Brad Buckingham
Category:Repositories
Target version:Team Brad - Iteration 14
Difficulty: Pull request:https://github.com/Katello/katello/pull/6754
Bugzilla link:1443653
Story points-
Velocity based estimate-
ReleaseKatello 3.4.0Release relationshipAuto

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

Revision 6d7d85f0
Added by Brad Buckingham 6 months ago

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.

History

#1 Updated by The Foreman Bot 6 months ago

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

#2 Updated by Brad Buckingham 6 months 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 ElasticSearch to Repositories
  • Target version set to Team Brad - Iteration 13
  • Release set to Katello 3.4.0

#3 Updated by Brad Buckingham 6 months ago

  • Target version changed from Team Brad - Iteration 13 to Team Brad - Iteration 14

#4 Updated by Brad Buckingham 6 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF