Project

General

Profile

Actions

Bug #38699

closed

Debian repos are shown multiple times on the new host details page in repo sets for multi-cves

Added by Nadja Heitmann 3 months ago. Updated 9 days ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Found in Releases:

Description

Reproducer:

Add multiple Deb CVs with repositories to a host, e.g with hammer. Then look at the Host details → content → repo sets page.

E.g. hammer host update --id 20 --content-view-environments "development/Ubuntu_22_04_CV,test/Ubuntu_22_04_CV,test/CCV_Debian_11"

Problematic code: https://github.com/Katello/katello/blob/dac6836079633c0a546ac35d932e85ba6992ddd3/app/services/katello/product_content_finder.rb#L30

The query is searching for content views and lifecycle environments, independently, and giving a mixed combination of all available environments and content view ids instead of grouping the search by the corresponding content view/environment. In addition, the search result should be filtered by library instance id to really get rid of multiple repos.

Actions #1

Updated by Samir Jha 2 months ago

  • Target version changed from Katello 4.20.0 to Katello 4.18.1
  • Triaged changed from No to Yes
Actions #2

Updated by Samir Jha 2 months ago

  • Category set to Hosts
Actions #3

Updated by The Foreman Bot 2 months ago

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

Updated by The Foreman Bot 2 months ago

  • Fixed in Releases Katello 4.19.0 added
Actions #5

Updated by Nadja Heitmann 2 months ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by The Foreman Bot 27 days ago

  • Fixed in Releases Katello 4.18.2 added
Actions #7

Updated by Pavan Soma Shekar 27 days ago

  • Fixed in Releases Katello 4.18.1 added
Actions #8

Updated by The Foreman Bot 9 days ago

  • Pull request https://github.com/Katello/katello/pull/11551 added
Actions

Also available in: Atom PDF