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 2032684

Summary: Upgrade from 6.9 to 6.10 gives error "BSON document too large"
Product: Red Hat Satellite Reporter: Jessica Hanley <jhanley>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Lai <ltran>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: apatel, kgaikwad
Target Milestone: UnspecifiedKeywords: Triaged, Upgrades
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-16 16:08:54 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 Jessica Hanley 2021-12-15 01:12:21 UTC
Description of problem:

Customer received this error message when he tried to upgrade from Satellite 6.9 to 6.10:

# satellite-maintain content prepare

Prepare content for Pulp 3:
Checking for valid Katello configuraton.
Starting task.
2021-12-14 17:50:40 -0600: Pre-migrating Pulp 2 erratum content (general info) 2256632/2256649Migration failed, You will want to investigate: https://upunilxsat01.unix.rgbk.com/foreman_tasks/tasks/dee7c32f-1d59-4cea-ac3f-b9c9036680f6
rake aborted!
ForemanTasks::TaskError: Task dee7c32f-1d59-4cea-ac3f-b9c9036680f6: Katello::Errors::Pulp3Error: BSON document too large (34950645 bytes) - the connected server supports BSON document sizes up to 16777216 bytes.
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.40/lib/katello/tasks/pulp3_migration.rake:42:in `block (2 levels) in <top (required)>'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => katello:pulp3_migration
(See full trace by running task with --trace)
                                                                      [FAIL]
Failed executing foreman-rake katello:pulp3_migration, exit status 1
--------------------------------------------------------------------------------
Scenario [Prepare content for Pulp 3] failed.

The following steps ended up in failing state:

  [content-prepare]

Comment 2 Brad Buckingham 2021-12-16 16:08:54 UTC

*** This bug has been marked as a duplicate of bug 2003888 ***