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 2260526 - [Improvement] RefreshRepos step in Capsule Sync to refresh just repos to sync
Summary: [Improvement] RefreshRepos step in Capsule Sync to refresh just repos to sync
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Capsule - Content
Version: 6.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 6.13.7
Assignee: Pavel Moravec
QA Contact: Vladimír Sedmík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-26 15:59 UTC by Odilon Sousa
Modified: 2024-02-29 20:35 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2249913
Environment:
Last Closed: 2024-02-29 20:35:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36926 0 Normal Closed [Improvement] RefreshRepos step in smart proxy sync to refresh just repos to sync 2024-01-26 15:59:27 UTC
Red Hat Issue Tracker SAT-21327 0 None None None 2024-01-26 15:59:27 UTC
Red Hat Issue Tracker SAT-21386 0 None None None 2024-01-26 15:59:27 UTC
Red Hat Issue Tracker SAT-22765 0 None None None 2024-01-26 16:02:59 UTC
Red Hat Product Errata RHSA-2024:1061 0 None None None 2024-02-29 20:35:15 UTC

Comment 2 Bryan Kearney 2024-01-26 16:03:06 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36926 has been resolved.

Comment 3 Vladimír Sedmík 2024-02-15 20:04:17 UTC
Verified in 6.13.7 snap 1.0 with identical setup and steps as https://bugzilla.redhat.com/show_bug.cgi?id=2260525#c4

Steps to verify:
1. Have a Satellite with registered Capsule (unassigned LCE right now, caps autosync after promotion disabled).
2. Prepare the content to sync
  a) Sync several repos, I used these for example:
     ansible-2.9-for-rhel-8-x86_64-rpms                 
     rhel-7-server-ansible-2.9-rpms             
     rhel-7-server-kickstart                             
     rhel-7-server-rpms                                     
     rhel-8-for-x86_64-baseos-kickstart                   
     rhel-8-for-x86_64-baseos-rpms                                 
     rhel-9-for-x86_64-baseos-kickstart                   
     rhel-9-for-x86_64-baseos-rpms                                 
     rhel-6-server-els-satellite-client-6-rpms  
     rhel-7-server-satellite-client-6-rpms     
     satellite-client-6-for-rhel-8-x86_64-rpms         
     satellite-client-6-for-rhel-9-x86_64-rpms    
  b) Create 10 LCEs.
  c) Create 10 CVs, add all the repos, publish and promote to all LCEs from 2b).
3. Assign the Capsule with Library and all the LCEs from 2b).
4. Sync the Capsule.
5. Prepare one more CV with only one repo added (ansible-2.9-for-rhel-8-x86_64-rpms), publish and promote to all LCEs.
6. Sync the Capsule, check Dynflow and measure the sync time.
7. Add one more repo (rhel-6-server-els-satellite-client-6-rpms) to the CV, publish new version and promote it to all LCEs.
8. Sync the Capsule, check Dynflow and measure the sync time.
   
Results per points above:
6. Complete sync task took 21.9s (6.37s for RefreshRepos)
8. Complete sync task took 19.9s (6.92s for RefreshRepos)
These results are consistent with the fixes from the other streams and one order of magnitude lower than the original values.

Comment 8 errata-xmlrpc 2024-02-29 20:35:14 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 (Moderate: Red Hat Satellite 6 security and bug fix update), 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:1061


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