Project

General

Profile

Bug #29058

Pulp worker crash when trying to sync https://packages.microsoft.com/rhel/7/prod/

Added by Jonas Lindholm 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Plugin integration
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Foreman 1.24.1
Proxy 1.24.1
Pulp 2.21.0
Candlepin 2.9.14-1
CentOS 7.7

Pulp worker crash with the following error:

Feb 07 12:10:11 foreman pulp16190: pulp_rpm.plugins.importers.yum.sync:INFO: [12a76ae7] Generating metadata databases.
Feb 07 12:17:12 foreman pulp15976: celery.worker.request:ERROR: (15976-36512) Task handler raised error: WorkerLostError(‘Worker exited prematurely: signal 9 (SIGKILL).’,)
Feb 07 12:17:12 foreman pulp15976: celery.worker.request:ERROR: (15976-36512) Traceback (most recent call last):
Feb 07 12:17:12 foreman pulp15976: celery.worker.request:ERROR: (15976-36512) File “/usr/lib64/python2.7/site-packages/billiard/pool.py”, line 1223, in mark_as_worker_lost
Feb 07 12:17:12 foreman pulp15976: celery.worker.request:ERROR: (15976-36512) human_status(exitcode)),
Feb 07 12:17:12 foreman pulp15976: celery.worker.request:ERROR: (15976-36512) WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL).
.
.
.
Feb 07 12:17:19 foreman pulp17259: pulp.server.async.tasks:INFO: [18e43702] Task failed : [12a76ae7-1bc7-43e2-8c15-193ce212e303] : Worker terminated abnormally while processing task 12a76ae7-1bc7-43e2-8c15-193ce212e303. Check the logs for details
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) Task pulp.server.async.tasks._release_resource[18e43702-3f26-481d-9e82-e54e361094f1] raised unexpected: AttributeError("‘NoneType’ object has no attribute ‘top’",)
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) Traceback (most recent call last):
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) File “/usr/lib/python2.7/site-packages/celery/app/trace.py”, line 367, in trace_task
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) R = retval = fun(*args, **kwargs)
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) File “/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py”, line 108, in call
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) return super(PulpTask, self).call(*args, **kwargs)
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) File “/usr/lib/python2.7/site-packages/celery/app/trace.py”, line 622, in protected_call
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) return self.run(*args, **kwargs)
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) File “/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py”, line 376, in _release_resource
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) new_task.on_failure(exception, task_id, (), {}, MyEinfo)
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) File “/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py”, line 759, in on_failure
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) if not self.request.called_directly:
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) File “/usr/lib/python2.7/site-packages/celery/app/task.py”, line 978, in _get_request
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) req = self.request_stack.top
Feb 07 12:17:19 foreman pulp17259: celery.app.trace:ERROR: [18e43702] (17259-36512) AttributeError: ‘NoneType’ object has no attribute ‘top’

Also available in: Atom PDF