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 - Content Host's Repository Sets empty on first call
Summary: Content Host's Repository Sets empty on first call
Keywords:
Status: CLOSED DUPLICATE of bug 2188287
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.13.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.15.0
Assignee: satellite6-bugs
QA Contact: visawant
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-31 18:22 UTC by Taft Sanders
Modified: 2023-11-21 17:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-21 17:34:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
RHEL 6 client repository sets (88.95 KB, image/png)
2023-10-31 18:27 UTC, Taft Sanders
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-21067 0 None None None 2023-10-31 18:23:53 UTC

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 ***


Note You need to log in before you can comment on or make changes to this bug.