Project

Profile

Help

Issue #3554

closed

Resource manager runs tasks it shouldn't

Added by daviddavis about 6 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
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:
Sprint:
Sprint 35
Quarter:

Description

If you stop all workers but leave resource manager running:

sudo systemctl stop pulp_worker@1 pulp_worker@2

You can still run tasks like sync. It looks like resource_manager is running these tasks.

This method probably returns resource_manager and needs to be fixed so that it doesn't:

https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/tasking/tasks.py#L113
https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/tasking/tasks.py#L44

Also available in: Atom PDF