[Satellite 6.2] Repository sync fails with error `Size must be between 0 and 16793600(16MB)`

Solution Verified - Updated -


  • Repository sync fails with error: exception: BSONObj size: <number> is invalid. Size must be between 0 and 16793600(16MB)
  • Observed following traceback in the messages log

    pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: (21415-40256) command SON([('mapreduce', u'units_rpm'), ('map', Code("\n    function () {\n        var key_fields = [this.name, this.epoch, this.version, this.release, this.arch]\n        emit(key_fields.join('-'), {ids: [this._id]});\n    }\n    ", {})), ('reduce', Code("\n    function (key, values) {\n      // collect mapped values into the first value to build the list of ids for this key/nevra\n      var collector = values[0]\n      // since collector is values[0] start this loop at index 1\n      // reduce isn't called if map only emits one result for key,\n      // so there is at least one value to collect\n      for (var i = 1; i < values.length; i++) {\n        collector.ids = collector.ids.concat(values[i].ids)\n      }\n      return collector\n    }\n    ", {})), ('out', {'inline': 1}), ('query', {}), ('finalize', Code("\n    function (key, reduced) {\n        if (reduced.ids.length > 1) {\n            return reduced;\n        }\n        // if there's only one value after reduction, this key is useless\n        // undefined is implicitly returned here, which saves space\n    }\n    ", {}))]) on namespace pulp_database.$cmd failed: exception: BSONObj size: 18038708 (0xB43F1301) is invalid. Size must be between 0 and 16793600(16MB) First element: 0: { _id: "0ad-0-0.0.20-4.el7-x86_64", value: null }


  • Red Hat Satellite or Proxy
  • No Proxy Environment

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