Bug 1877660

Summary: duplicate Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (RPMs) repos shown on Red Hat Repositories page
Product: Red Hat Satellite Reporter: matt jia <mjia>
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Cole Higgins <chiggins>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: hyu
Target Milestone: UnspecifiedKeywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-02 17:25:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description matt jia 2020-09-10 06:07:09 UTC
Description of problem:

The Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (RPMs) repo is in two products as in:

pp Katello::Content.where(name: "Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (RPMs)").first.products
[#<Katello::Product:0x000000001006a558
  id: 123,
  name: "Red Hat Enterprise Linux Server",
  description: nil,
  cp_id: "69",
  multiplier: nil,
  provider_id: 2,
  created_at: Sat, 02 Nov 2019 15:04:29 UTC +00:00,
  updated_at: Sat, 02 Nov 2019 15:04:29 UTC +00:00,
  gpg_key_id: nil,
  sync_plan_id: nil,
  label: "Red_Hat_Enterprise_Linux_Server",
  organization_id: 1,
  ssl_ca_cert_id: nil,
  ssl_client_cert_id: nil,
  ssl_client_key_id: nil>,
 #<Katello::Product:0x000000001006a418
  id: 112,
  name: "Red Hat Ceph Storage",
  description: nil,
  cp_id: "281",
  multiplier: nil,
  provider_id: 2,
  created_at: Sat, 02 Nov 2019 15:04:28 UTC +00:00,
  updated_at: Sat, 02 Nov 2019 15:04:28 UTC +00:00,
  gpg_key_id: nil,
  sync_plan_id: nil,
  label: "Red_Hat_Ceph_Storage",
  organization_id: 1,
  ssl_ca_cert_id: nil,
  ssl_client_cert_id: nil,
  ssl_client_key_id: nil>]

This is causing the UI to display duplicate repos. In some cases, though the repo is enabled, it is still shown not enabled on the UI. When enabling it, below error is hit:

06331:400 Bad Request: {"http_request_method": "POST", "exception": null, "error_message": "Relative URL [rhit/Library/content/dist/rhel/server/7/7Server/x86_64/rhceph-tools/3/os] for repository [c8e1d810-5c89-4526-9ec7-f19a92935de7] conflicts with existing relative URL [rhit/Library/content/dist/rhel/server/7/7Server/x86_64/rhceph-tools/3/os] for repository [ef1ceda3-d4d3-41d3-b5fc-0ff2da75e113]", "_href": "/pulp/api/v2/repositories/", "http_status": 400, "error": {"code": "PLP0000", "data": {}, "description": "Relative URL [rhit/Library/content/dist/rhel/server/7/7Server/x86_64/rhceph-tools/3/os] for repository [c8e1d810-5c89-4526-9ec7-f19a92935de7] conflicts with existing relative URL [rhit/Library/content/dist/rhel/server/7/7Server/x86_64/rhceph-tools/3/os] for repository [ef1ceda3-d4d3-41d3-b5fc-0ff2da75e113]", "sub_errors": []}, "args": ["Relative URL [rhit/Library/content/dist/rhel/server/7/7Server/x86_64/rhceph-tools/3/os] for repository [c8e1d810-5c89-4526-9ec7-f19a92935de7] conflicts with existing relative URL [rhit/Library/content/dist/rhel/server/7/7Server/x86_64/rhceph-tools/3/os] for repository [ef1ceda3-d4d3-41d3-b5fc-0ff2da75e113]"], "traceback": null}

This is causing a lot of concerns from the customers.


Version-Release number of selected component (if applicable):

6.7

How reproducible:

Easy

Steps to Reproduce:
1. create a manifest with Red Hat Enterprise Linux Server and Red Hat Ceph Storage products 
2. search for rhel-7-server-rhceph-3-tools-rpms 
3.

Actual results:

duplicate repos on the Red Hat Repositories page

Expected results:

only one repo is shown

Additional info:

This might be an issue from our CDN. However, if Satellite can be smart enough to only display one repo or at least display the product name, it would increase a lot user experience on the UI.

Comment 1 Brad Buckingham 2022-11-03 21:47:41 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 2 Brad Buckingham 2022-12-02 17:25:56 UTC
Thank you for your interest in Red Hat Satellite. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this feel free to contact your Red Hat Account Team. Thank you.