Project

Profile

Help

Task #9569

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

Added by ttereshc 23 days ago. Updated 23 days ago.

Status:
NEW
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

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 uploadsMODIFIED<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to RPM Support - Issue #9551: Error passing upload RPMMODIFIED<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Pulp - Issue #8610: PulpImporter assumes tempfiles can always go to /tmpNEW<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by ttereshc 23 days ago

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

#2 Updated by ttereshc 23 days ago

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

#3 Updated by ttereshc 23 days ago

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

Please register to edit this issue

Also available in: Atom PDF