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 2188287 - Repository sets tab need to load twice to see list of repositories
Summary: Repository sets tab need to load twice to see list of repositories
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.15.0
Assignee: visawant
QA Contact: visawant
URL:
Whiteboard:
: 2247295 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-20 11:23 UTC by visawant
Modified: 2024-04-23 17:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-23 17:14:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35604 0 Normal Closed Repository sets not reflecting SCA status on direct load 2023-06-01 14:43:47 UTC
Red Hat Issue Tracker SAT-17252 0 None None None 2023-04-20 14:08:04 UTC
Red Hat Knowledge Base (Solution) 7048137 0 None None None 2023-12-05 23:53:38 UTC
Red Hat Product Errata RHSA-2024:2010 0 None None None 2024-04-23 17:14:05 UTC

Description visawant 2023-04-20 11:23:43 UTC
Created attachment 1958540 [details]
No repository set to show

Description of problem: List of repositories are not showing under "Repository sets" tab which associated with Content host (and Content view), to see all list of repos either refresh page or go to any other tab and again come to "Repository sets" tab


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


How reproducible:


Steps to Reproduce:
1. Create CV > Add repositories > Create ak > Register host 
2. Navigate to Hosts - Content Host page, click Host name from the Name column.
3. Go to tab Content -> Repository sets

Actual results: 
Repositories won't show


Expected results: 
List of repositories should show under Content -> Repository sets tab


Additional info: Adding screencast

Comment 1 visawant 2023-04-20 11:26:45 UTC
Adding missing fields
---------------------

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

How reproducible:
Always

Comment 2 Jeremy Lenz 2023-05-17 12:12:54 UTC
Hi Visawant,

Thanks for adding the video. I don't seem to have the issue upstream; do you have a reproducer? Does this happen for all content hosts or just some?

Comment 4 visawant 2023-05-21 07:53:21 UTC
(In reply to visawant from comment #3)
> @

Please ignore the above comment

@jlenz Yes, I have a reproducer (6.13.0) you can check it for any content host. Please let me know how can I help you with the reproducer.

Comment 5 Jeremy Lenz 2023-06-01 14:40:25 UTC
The RepositorySetsTab decides whether to send the content_access_mode_all param based on whether the org is Simple Content Access.

I think the problem is that on the first page load, it makes this decision before the org details are loaded, and thus assumes SCA is off.

@visawant please let me know if this also occurs on Stream. thanks!

Comment 6 Jeremy Lenz 2023-06-01 14:43:48 UTC
I believe this is fixed upstream in https://projects.theforeman.org/issues/35604

hooking up the Redmine here and setting POST.

Comment 7 visawant 2023-06-01 14:54:11 UTC
@

Comment 8 visawant 2023-06-01 14:54:37 UTC
@

Comment 9 visawant 2023-06-01 15:00:29 UTC
@Jeremy Lenz, I have checked stream build, this issue doesn't occurs. On the first load of Repository sets, a parameter "content_access_mode_env=true" has been passed with the request.

Please ignore above 2 comments, I don't know why such broken comments were posted, something wrong happen.

Comment 10 Ron Lavi 2023-11-21 17:34:58 UTC
*** Bug 2247295 has been marked as a duplicate of this bug. ***

Comment 13 visawant 2023-11-29 10:24:53 UTC
Version tested:
---------------
Satellite 6.15.0 (stream) snap-39

Steps performed:
----------------
1. Create CV > Add repositories (rhel8 aps & bos) > Create ak > Register RHEL-8.7 host 
2. Navigate to Hosts - Content Host page, click Host name from the Name column.
3. Go to tab Content -> Repository sets

Observation:
------------
Request header contains below value for :path:

/katello/api/v2/repository_sets?content_access_mode_env=true&content_access_mode_all=true&host_id=3&sort_by=name&sort_order=asc&per_page=20&page=1&search=

Comment 16 errata-xmlrpc 2024-04-23 17:14:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.15.0 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2024:2010


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