Actions
Issue #1222
closedworking directories deleted by worker watcher thread
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.7.0 Beta
Platform Release:
2.7.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:
Description
The worker watcher deletes /var/cache/pulp/<worker-name> directory when it thinks that a worker went offline. This is incorrect behavior because the working directory is not necessarily even on the same machine as the scheduler (which runs the worker watcher thread). This is also incorrect because the directory cleanup also happens on worker startup.
Actions
cleanup old working dir only on start, not on death
closes #1222