Project

Profile

Help

Task #9569

closed

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

Added by ttereshc over 2 years ago. Updated over 2 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
Actions #1

Updated by ttereshc over 2 years ago

  • Related to Issue #9550: Ensure correct tmp location is used when reconstructing chunked uploads added
Actions #2

Updated by ttereshc over 2 years ago

  • Related to Issue #9551: Error passing upload RPM added
Actions #3

Updated by ttereshc over 2 years ago

  • Related to Issue #8610: PulpImporter assumes tempfiles can always go to /tmp added
Actions #4

Updated by fao89 over 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF