Actions
Issue #1956
closed"Cleaning duplicate packages" fails after upgrading from 2.6.0 to 2.8.3.
Status:
CLOSED - WONTFIX
Priority:
High
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.3
Platform Release:
OS:
RHEL 6
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
After applying the patch in https://pulp.plan.io/issues/1952, the actual syncing of packages work, but the whole sync fails on the "Cleaning duplicate packages" step:
Operations: sync
Resources: RHEL7_test_x86_64 (repository)
State: Failed
Start Time: 2016-05-31T10:17:00Z
Finish Time: 2016-05-31T10:31:20Z
Result: N/A
Task Id: d3b8443b-0e61-4027-8ded-b419b38f13f6
Progress Report:
Yum Importer:
Comps:
State: FINISHED
Content:
Details:
Drpm Done: 0
Drpm Total: 0
Rpm Done: 1
Rpm Total: 1
Error Details:
Items Left: 0
Items Total: 1
Size Left: 0
Size Total: 74037668
State: FINISHED
Distribution:
Error Details:
Items Left: 0
Items Total: 0
State: FINISHED
Errata:
State: FINISHED
Metadata:
State: FINISHED
Purge Duplicates:
Error: 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: 17449063 (0x67400A01) is invalid.
Size must be between 0 and 16793600(16MB) First element: 0: { _id:
"2048-cli-0-0.9-4.git20141214.723738c.el5-x86_64", value: null }
State: FAILED
Traceback: Traceback (most recent call last): File
"/usr/lib/python2.6/site-packages/celery/app/trace.py", line
240, in trace_task R = retval = fun(*args, **kwargs)
File
"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py",
line 473, in __call__ return super(Task,
self).__call__(*args, **kwargs) File
"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py",
line 103, in __call__ return super(PulpTask,
self).__call__(*args, **kwargs) File
"/usr/lib/python2.6/site-packages/celery/app/trace.py", line
437, in __protected_call__ return self.run(*args,
**kwargs) File
"/usr/lib/python2.6/site-packages/pulp/server/controllers/repo
sitory.py", line 810, in sync raise
pulp_exceptions.PulpExecutionException(_('Importer indicated a
failed response')) PulpExecutionException: Importer indicated
a failed response
Actions