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 ***