Bug 2003764
| Summary: | CV-promotion with-filters causes pulp code to do repoclosure once per-rpm-copied, which is Very Nonperformant. | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Grant Gainey <ggainey> |
| Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Griffin Sullivan <gsulliva> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.10.0 | CC: | dalley, ggainey, mawerner, pmendezh, pmoravec, rchan, ttereshc, zhunting |
| Target Milestone: | 6.10.0 | Keywords: | Performance, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Known Issue | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-16 14:13:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Grant Gainey
2021-09-13 16:15:02 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug. The Pulp upstream bug priority is at Urgent. Updating the external tracker on this bug. *** Bug 1934545 has been marked as a duplicate of this bug. *** *** Bug 1965936 has been marked as a duplicate of this bug. *** The Pulp upstream bug status is at POST. Updating the external tracker on this bug. The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug. All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST. The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. There are some excellent reproduction / verification steps for this issue at https://bugzilla.redhat.com/show_bug.cgi?id=1994256. I suggest copying the relevant information from that issue over here and closing it as a duplicate. Verified in 6.10 snap 22 Publishing a content view with large repos and filters succeeds in 10s of minutes and uses a low amount of memory. Steps to Reproduce: 1. Sync RHEL8 BaseOS and AppStream repos 2. Create and publish above described CV, e.g. via below hammer commands (customize the repository IDs 6 and 7 to match your RHEL8 repoIDs): hammer content-view create --name mycv_RHEL8_yes_include_2019-01-01 --organization-id=1 --repository-ids=6,7 --solve-dependencies=yes hammer content-view filter create --organization-id=1 --content-view=mycv_RHEL8_yes_include_2019-01-01 --name=include_base --inclusion=true --original-packages=true --type=rpm hammer content-view filter create --organization-id=1 --content-view=mycv_RHEL8_yes_include_2019-01-01 --name=include_errata --inclusion=true --type=erratum hammer content-view filter rule create --organization-id=1 --content-view=mycv_RHEL8_yes_include_2019-01-01 --content-view-filter=include_errata --date-type='updated' --end-date='2019-01-01' hammer content-view filter create --organization-id=1 --content-view=mycv_RHEL8_yes_include_2019-01-01 --name=include_modules --inclusion=true --original-module-streams=true --type=modulemd hammer content-view publish --name=mycv_RHEL8_yes_include_2019-01-01 --organization-id=1 --async 3. Check the CV publish outcome Expected Results: Content view publish succeeds without warnings or errors after around 15 minutes. Actual Results: Content view publish succeeds without warnings or errors after around 15 minutes. Great work! 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: Satellite 6.10 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-2021:4702 *** Bug 1995232 has been marked as a duplicate of this bug. *** |