Project

Profile

Help

Issue #3406

closed

/var/cache/pulp should not be required by pulp workers

Added by dkliban@redhat.com 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:
Easy Fix
Sprint:
Sprint 34
Quarter:

Description

In Pulp 2, /var/cache/pulp was used by workers to create symlinks before copying them to /var/lib/pulp. Since Pulp 3 is not going to be creating symlinks all the time, it's reasonable to believe that workers can use /var/lib/pulp/tmp as the root of their working directories.

We should switch the code that provides the working directory for a worker to return /var/lib/pulp/tmp/<workername>

The Artifact upload API already uses /var/lib/pulp/tmp as the temporary storage.

Also available in: Atom PDF