Actions
Issue #3554
closedResource manager runs tasks it shouldn't
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
Actions
Don't run tasks on the resource manager
closes #3554 https://pulp.plan.io/issues/3554