Project

Profile

Help

Issue #2738

Updated by jortel@redhat.com over 7 years ago

During a sync, the errata Errata package list exceeds the exceed mongod 16MB document size limit. 

 <pre> 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528) Could not save document (BSONObj size: 16797620 (0x1004FB4) is invalid. Size must be between 0 and 16793600(16MB) First element: _id: "58ba0673-85d8-4c5d-a327-6b1b85797b55") 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528) Traceback (most recent call last): 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)     File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 275, in run 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)       self.get_errata(metadata_files) 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)     File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 794, in get_errata 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)       updateinfo.process_package_element, additive_type=True) 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)     File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 887, in save_fileless_units 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)       model = self._concatenate_units(existing_unit, model) 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)     File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 932, in _concatenate_units 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)       existing_unit.merge_errata(new_unit) 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)     File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 705, in merge_errata 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)       self.merge_pkglists_and_save(other) 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)     File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/db/models.py", line 802, in merge_pkglists_and_save 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)       self.save() 
 Apr 26 17:26:30 ps2ar022911 pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (32160-98528)     File "/usr/lib/python2.7/site-packages/mongoengine/document.py", line 398, in save 
 </pre>

Back