Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2247295

Summary: Content Host's Repository Sets empty on first call
Product: Red Hat Satellite Reporter: Taft Sanders <tasander>
Component: Hosts - ContentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: visawant
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.13.4CC: bkielhol, jlenz, ngalvin, rlavi, visawant
Target Milestone: 6.15.0Keywords: EasyFix, Triaged, UserExperience
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-21 17:34:58 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:
Attachments:
Description Flags
RHEL 6 client repository sets none

Description Taft Sanders 2023-10-31 18:22:08 UTC
Description of problem:
When viewing a RHEL 6 or 7 content host's repository set from the Satellite WebUI, the repository list is empty due to a parameter in the call.

Version-Release number of selected component (if applicable):
satellite-6.13.4.1-1.el8sat.noarch

How reproducible:
Every time

Steps to Reproduce:
1. Register a RHEL 6 or 7 system to a Satellite
2. Navigate to the client's content host page and view the Content > Repository sets page
3.

Actual results:
The call that is made from the WebUI is:
        "request": {
          "method": "GET",
          "url": "https://bombsat613.d.sysmgmt.cee.redhat.com/katello/api/v2/repository_sets?content_access_mode_env=false&host_id=16&sort_by=name&sort_order=asc&per_page=20&page=1&search=",

and the response was:
{"total":0,"subtotal":0,"selectable":0,"page":"1","per_page":"20","error":null,"search":"","sort":{"by":"name","order":"asc"},"results":[]}

Expected results:
The call should include the parameter "content_access_mode_all=true" if defaulting to the "Show all" option upon page loading.

        "request": {
          "method": "GET",
          "url": "https://bombsat613.d.sysmgmt.cee.redhat.com/katello/api/v2/repository_sets?content_access_mode_env=false&content_access_mode_all=true&host_id=16&sort_by=name&sort_order=asc&per_page=20&page=1&search=",

<not including response because it's too large for case comment length>

Additional info:

Comment 1 Taft Sanders 2023-10-31 18:27:24 UTC
Created attachment 1996406 [details]
RHEL 6 client repository sets

what is seen when clicking on the repository sets tab for a client

Comment 6 Ron Lavi 2023-11-21 17:34:58 UTC

*** This bug has been marked as a duplicate of bug 2188287 ***