[RHUI 3.0] Cannot sync kernel-3.10.0-957.12.1.el7.x86 package with error: "DocumentTooLarge: BSON document too large"

Solution Unverified - Updated -

Issue

  • RHUA shows the following errors at synchronizing RHEL 7 Server repository:
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152) Listener error on event: succeeded
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152) Traceback (most recent call last):
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib/python2.7/site-packages/pulp/server/content/sources/event.py", line 39, in __call__
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     listener.on_event(self)
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib/python2.7/site-packages/pulp/server/content/sources/event.py", line 135, in on_event
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     method(event.request)
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/alternate.py", line 119, in on_succeeded
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     self.content_listener.download_succeeded(report)
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/listener.py", line 201, in download_succeeded
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     added_unit = self.sync.add_rpm_unit(self.metadata_files, unit)
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 615, in add_rpm_unit
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     unit.save()
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib/python2.7/site-packages/mongoengine/document.py", line 324, in save
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     object_id = collection.save(doc, **write_concern)
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line 2180, in save
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     check_keys, False, manipulate, write_concern)
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line 728, in _update
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     self.codec_options)
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line 458, in _legacy_write
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     rqst_id, msg, max_size, acknowledged)
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib64/python2.7/site-packages/pymongo/pool.py", line 261, in legacy_write
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     self.send_message(msg, max_doc_size)
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)   File "/usr/lib64/python2.7/site-packages/pymongo/pool.py", line 228, in send_message
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152)     (max_doc_size, self.max_bson_size))
Apr 24 01:50:02 hostname pulp: pulp.server.content.sources.event:ERROR: (17111-89152) DocumentTooLarge: BSON document too large (18898577 bytes) - the connected serversupports BSON document sizes up to 16777216 bytes.
  • At the time, the RHUI system cannot sync kernel-3.10.0-957.12.1.el7.x86_64.rpm and related packages.
kernel-3.10.0-957.12.1.el7.x86_64
kernel-debug-3.10.0-957.12.1.el7.x86_64
kernel-debug-devel-3.10.0-957.12.1.el7.x86_64
kernel-devel-3.10.0-957.12.1.el7.x86_64
kernel-doc-3.10.0-957.12.1.el7.noarch
  • Also the newer versions of kernel package are not synchronized.
kernel-3.10.0-957.12.2.el7.x86_64
kernel-3.10.0-957.21.2.el7.x86_64
kernel-3.10.0-957.21.3.el7.x86_64
kernel-3.10.0-957.27.2.el7.x86_64
kernel-3.10.0-1062.el7.x86_64
kernel-3.10.0-1062.1.1.el7.x86_64

Environment

  • Red Hat Update Infrastructure v.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In