Project

Profile

Help

Issue #3656

closed

"TaskLock matching query does not exist" in logs every few seconds

Added by jsherril@redhat.com almost 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

May  2 16:41:38 balmora celery[6393]: [2018-05-02 20:41:38,116: ERROR/MainProcess] Error in timer: DoesNotExist('TaskLock matching query does not exist.',)
May  2 16:41:38 balmora celery[6393]: Traceback (most recent call last):
May  2 16:41:38 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/kombu/async/hub.py", line 136, in fire_timers
May  2 16:41:38 balmora celery[6393]:    entry()
May  2 16:41:38 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/kombu/async/timer.py", line 68, in __call__
May  2 16:41:38 balmora celery[6393]:    return self.fun(*self.args, **self.kwargs)
May  2 16:41:38 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/kombu/async/timer.py", line 127, in _reschedules
May  2 16:41:38 balmora celery[6393]:    return fun(*args, **kwargs)
May  2 16:41:38 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/pulpcore/tasking/celery_app.py", line 120, in _on_tick
May  2 16:41:38 balmora celery[6393]:    handle_worker_heartbeat(consumer.hostname)
May  2 16:41:38 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/pulpcore/tasking/services/worker_watcher.py", line 67, in handle_worker_heartbeat
May  2 16:41:38 balmora celery[6393]:    lock = TaskLock.objects.get(name=worker.name)
May  2 16:41:38 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
May  2 16:41:38 balmora celery[6393]:    return getattr(self.get_queryset(), name)(*args, **kwargs)
May  2 16:41:38 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/django/db/models/query.py", line 403, in get
May  2 16:41:38 balmora celery[6393]:    self.model._meta.object_name
May  2 16:41:38 balmora celery[6393]: pulpcore.app.models.task.DoesNotExist: TaskLock matching query does not exist.
May  2 16:41:43 balmora celery[6393]: [2018-05-02 20:41:43,127: ERROR/MainProcess] Error in timer: DoesNotExist('TaskLock matching query does not exist.',)
May  2 16:41:43 balmora celery[6393]: Traceback (most recent call last):
May  2 16:41:43 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/kombu/async/hub.py", line 136, in fire_timers
May  2 16:41:43 balmora celery[6393]:    entry()
May  2 16:41:43 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/kombu/async/timer.py", line 68, in __call__
May  2 16:41:43 balmora celery[6393]:    return self.fun(*self.args, **self.kwargs)
May  2 16:41:43 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/kombu/async/timer.py", line 127, in _reschedules
May  2 16:41:43 balmora celery[6393]:    return fun(*args, **kwargs)
May  2 16:41:43 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/pulpcore/tasking/celery_app.py", line 120, in _on_tick
May  2 16:41:43 balmora celery[6393]:    handle_worker_heartbeat(consumer.hostname)
May  2 16:41:43 balmora celery[6393]:  File "/home/jlsherri/pulpvenv/lib64/python3.6/site-packages/pulpcore/tasking/services/worker_watcher.py", line 67, in handle_worker_heartbeat

In this case 6393 is the resource manager. Everything seems to be working fine however.

Also available in: Atom PDF