Project

Profile

Help

Issue #4559

Cancelling a task logs a failure message before logging the cancel message

Added by dalley 7 months ago. Updated about 1 month ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

Mar 21 14:04:47 pulp3-source-fedora29.localhost.example.com rq[10066]: pulp: rq.worker:INFO: Cleaning registries for queue: reserved-resource-worker-1@pulp3-source-fedora29.localhost.example.com                
Mar 21 14:04:47 pulp3-source-fedora29.localhost.example.com rq[10066]: pulp: rq.worker:INFO: reserved-resource-worker-1@pulp3-source-fedora29.localhost.example.com: pulpcore.tasking.tasks._release_resources('f8b2be25-a8c1-4995-9f62-99cbe0df961d') (c3257770-db36-4d6d-a6a9-8cf47f5e0431)
Mar 21 14:04:47 pulp3-source-fedora29.localhost.example.com rq[10066]: pulp: pulpcore.tasking.tasks:ERROR: The task f8b2be25-a8c1-4995-9f62-99cbe0df961d exited immediately for some reason. Marking as failed. Check the logs for more details
Mar 21 14:04:47 pulp3-source-fedora29.localhost.example.com rq[10066]: pulp: rq.worker:INFO: reserved-resource-worker-1@pulp3-source-fedora29.localhost.example.com: Job OK (c3257770-db36-4d6d-a6a9-8cf47f5e0431)
Mar 21 14:04:48 pulp3-source-fedora29.localhost.example.com gunicorn[10069]: pulp: pulpcore.tasking.util:INFO: Task canceled: f8b2be25-a8c1-4995-9f62-99cbe0df961d.

This message should not be logged, since the task was cancelled, not failed.

"pulp: pulpcore.tasking.tasks:ERROR: The task f8b2be25-a8c1-4995-9f62-99cbe0df961d exited immediately for some reason. Marking as failed. Check the logs for more details"

The task status is correct, e.g. "cancelled", not failed.

History

#1 Updated by dalley 7 months ago

  • Description updated (diff)

#2 Updated by amacdona@redhat.com 7 months ago

  • Sprint/Milestone set to 3.0
  • Triaged changed from No to Yes

o

#3 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

#4 Updated by daviddavis about 1 month ago

  • Sprint/Milestone deleted (3.0)

Please register to edit this issue

Also available in: Atom PDF