Bug 1919409

Summary: Incremental update of the content view takes very long time to complete
Product: Red Hat Satellite Reporter: James Jeffers <jjeffers>
Component: Content ViewsAssignee: Partha Aji <paji>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7.0CC: ahumbe, bmbouter, dalley, dhjoshi, dsynk, egolov, ipanova, johannes.grumboeck, jsherril, jturel, kkinge, ltran, mkalyat, paji, pmoravec, rchan
Target Milestone: 6.8.4Keywords: Performance, PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: pulp-rpm-2.21.3.3-1,tfm-rubygem-katello-3.16.0.20-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1829266 Environment:
Last Closed: 2021-02-24 12:47:13 UTC Type: ---
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
One CopyUnits appear in dynflow none

Comment 7 Lai 2021-02-15 20:24:03 UTC
Steps to retest:

1. Sync rhel8 - BaseOS and rhel8 - AppStream
2. Create a cv and add the repos from step #1
3. Create a filter that includes an erratum with an end date of sept. 1, 2020
4. Publish the cv
5. Remove the filter and republish the cv
6. Drill into the 2nd cv version and click on errata tab
7. Filter by updated column so that the latest dates are first
8. Pick a errata from the list to run (I picked RHSA-2021:0471)
9. Run the incremental update command:

    hammer content-view version incremental-update --content-view-version-id=<id> --errata-ids=<errata ID>

Expected:
Incremental update should be faster than previously before.
There should be only one "Actions::Pulp::Repository::CopyUnits" in the dynflow console.


Actual:
Incremental update is faster than previously before.  On a 6.8.4 sat, the incremental update took 22 minutes while on a 6.7.4 sat took 38 minutes.  There is a 15 minutes faster difference from that errata.
There is only one "Actions::Pulp::Repository::CopyUnits" in the dynflow console.

Verified on 6.8.4_01, pulp-rpm-plugins-2.21.3.3-1.el7sat.noarch, tfm-rubygem-katello-3.16.0.20-1.el7sat.noarch

Comment 8 Lai 2021-02-15 20:26:45 UTC
Created attachment 1757148 [details]
One CopyUnits appear in dynflow

Comment 13 errata-xmlrpc 2021-02-24 12:47:13 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 (Satellite 6.8.4 Async 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/RHBA-2021:0654