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.
+++ This bug was initially created as a clone of Bug #1713802 +++
Description of problem:
Every capsule sync causes importers/distributors to get updated making an optimized capsule sync a full sync
Version-Release number of selected component (if applicable):
Satellite 6.5.0
How reproducible:
Always
Steps to Reproduce:
1. Create a bunch of (large) yum repos on satellite 6.4 with one or more capsules.
2. Trigger capsule sync tasks and note the time
3. Upgrade Satellite and capsule(s) to 6.5
4. Trigger capsule sync tasks and note the time
Actual results:
6.5 capsule sync took about 4 times more than the 6.4 capsule sync.
Expected results:
capsule sync should be optimal and in line with 6.4 performance.
Additional info:
--- Additional comment from on 2019-05-24T21:48:50Z
Since this bug report was entered in Red Hat Bugzilla, the 'sat-backlog' flag has been set to ? to ensure that it is properly evaluated for release.
--- Additional comment from on 2019-05-24T21:48:50Z
Since this issue was entered in Red Hat Bugzilla, the pm_ack has been set to + automatically for the next planned release.
--- Additional comment from on 2019-05-24T21:53:21Z
Created attachment 1573070[details]
proposed_patch
The patch was quickly tested in-house. Provided to Walmart today, yet to be validated in the customer environment.
--- Additional comment from on 2019-05-24T21:54:55Z
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being [proposed|marked] as a blocker for this release.
Please resolve ASAP.
--- Additional comment from on 2019-05-28T16:39:25Z
Note that this happens only on a Satellite/Capsule upgraded from 6.4 to 6.5 and not on the newly installed 6.5 capsules.
--- Additional comment from on 2019-05-28T16:41:03Z
Created redmine issue https://projects.theforeman.org/issues/26907 from this bug
--- Additional comment from on 2019-05-30T20:03:33Z
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26907 has been resolved.
VERIFIED.
@satellite-6.5.1-1.el7sat.noarch
tfm-rubygem-katello-3.10.0.48-1.el7sat.noarch
by reproducer described in comment#0:
1) Sync a bunch of large yum repos (rhel7/rhel6 server) on Satellite 6.4 with one external capsule
2) Trigger capsule sync tasks and note the time
# time hammer capsule content synchronize --id 2
>>> times [ ~4min, 29sec, 28sec ... ]
3) Upgrade Satellite and capsule to 6.5.0
4) Trigger capsule sync tasks and note the time
>>> times [ ~16min, ~17min, ... ], with 6.5.0 there is performance issue (doing fullsyncs all the time)
5) Upgrade Satellite and capsule to 6.5.1 (candidate)
6) Trigger capsule sync tasks and note the time
>>> times [ 3min32, 34sec, 32sec ... ], the fix resolves the perf issue (optimized syncs performing similarly with 6.4)
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, 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/RHBA-2019:1581