The Pulp 2 to Pulp 3 migration stucks and raises 'pymongo.errors.DocumentTooLarge' error in /var/log/messages file

Solution Verified - Updated -

Issue

  • The Pulp 2 to Pulp 3 migration stucks and raises the following pymongo.errors.DocumentTooLarge error in /var/log/messages file:

    pulpcore-worker-4: RuntimeWarning)
    pulpcore-worker-4: pulp: rq.worker:ERROR: Traceback (most recent call last):
    pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/rq/worker.py", line 936, in perform_job
    .....
    pulpcore-worker-4: (max_doc_size, self.max_bson_size))
    pulpcore-worker-4: pymongo.errors.DocumentTooLarge: BSON document too large (32444638 bytes) - the connected server supports BSON document sizes up to 16777216 bytes.
    

Environment

  • Red Hat Satellite 6.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content