Project

Profile

Help

Task #9569

closed

Eliminate all instances when Pulp writes to /tmp and always use the worker working directory

Added by ttereshc about 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/2061":https://github.com/pulp/pulpcore/issues/2061


There were various issues due to Pulp writing to /tmp, mostly it's running out of disc space because /tmp is usually not expected to be large.
Problems come from NamedTemporaryFile and TemporaryDirectory which do not have dir parameter specified.

There is also inconsistency in how directories are referred to.
Let's fix it as well.
Current flavours for the current directory are dir="." and dir=os.getcwd().

It would be good to check plugins as well, I just fixed 4 places in pulp_rpm.


Related issues

Related to Pulp - Issue #9550: Ensure correct tmp location is used when reconstructing chunked uploadsCLOSED - CURRENTRELEASEdkliban@redhat.comActions
Related to RPM Support - Issue #9551: Error passing upload RPMCLOSED - DUPLICATEttereshcActions
Related to Pulp - Issue #8610: PulpImporter assumes tempfiles can always go to /tmpCLOSED - CURRENTRELEASEggaineyActions

Also available in: Atom PDF