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.

Bug 1437150

Summary: Errata package list has limited capacity and can cause a DocumentTooLarge error
Product: Red Hat Satellite Reporter: Dennis Kliban <dkliban>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: high    
Version: 6.2.8CC: abalakht, ajoseph, bbuckingham, bkearney, bmbouter, cdonnell, daviddavis, dkliban, ggainey, hprakash, ipanova, jcallaha, jentrena, mhrivnak, mmccune, patricia.moeller, pcreech, pdwyer, rchan, ttereshc, wpinheir, xdmoon, zhunting
Target Milestone: UnspecifiedKeywords: PrioBumpField, PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulp-2.8.7.13-1 pulp-rpm-2.8.7.15-2.el7sat Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1463811 (view as bug list) Environment:
Last Closed: 2017-08-10 17:02:29 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 Dennis Kliban 2017-03-29 15:58:56 UTC
Orphan cleanup task does not consider that some package lists associated with an errata are no longer needed because the repository associated with them is no longer present. This can cause the errata to grow so large that it is too big to store in MongoDB. As a result a user will experience BZ #1410649.

Comment 1 pulp-infra@redhat.com 2017-03-29 16:32:31 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 2 pulp-infra@redhat.com 2017-03-29 16:32:34 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 4 pulp-infra@redhat.com 2017-04-11 20:33:38 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

Comment 6 pulp-infra@redhat.com 2017-05-15 20:32:47 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 7 Tanya Tereshchenko 2017-05-16 13:50:29 UTC
I changed summary just to better reflect the issue, nothing new.

Description:
This error can occur during sync or errata upload and it is more likely to happen in the following situations:
 - many repositories of the same content were created, removed, created again.(package list grows, orphan clean up does not touch package lists).
 - too many individual repositories (which have feed and were not created via copy).

Both (especially last one) are the cases for a Capsule sync, so most likely this error will be seen on a Capsule and not on a main Satellite.

Comment 10 Waldirio M Pinheiro 2017-05-18 11:55:41 UTC
*** Bug 1450513 has been marked as a duplicate of this bug. ***

Comment 12 pulp-infra@redhat.com 2017-06-10 01:36:19 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 13 pulp-infra@redhat.com 2017-06-10 02:06:20 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.

Comment 18 pulp-infra@redhat.com 2017-07-20 17:32:36 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.

Comment 19 pulp-infra@redhat.com 2017-07-20 18:02:21 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 20 jcallaha 2017-07-27 14:27:53 UTC
Verified in Satellite 6.2.11 Snap 2. 

The automated test for this bug has been passing since snap 1.

Test automated in https://github.com/SatelliteQE/robottelo/pull/4766

Comment 21 Brad Buckingham 2017-08-08 17:45:22 UTC
*** Bug 1474382 has been marked as a duplicate of this bug. ***

Comment 23 errata-xmlrpc 2017-08-10 17:02:29 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, 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-2017:2466