Project

Profile

Help

Story #6821

closed

As a user I want pulp to fail early when there isn't enough disk space

Added by quba42 almost 4 years ago. Updated about 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:
Documentation
Sprint:
Quarter:

Description

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


It would be nice, if the sync mechanism, after reading the metadata could anticipate the (possibly) needed diskspace, compare that to the available and take appropriate action before starting to download the content units.

Another option might be to add a "fake_sync" or "dry_run_sync" that reports, whether disk space is sufficient.

It is clearly non trivial to anticipate the actual size a sync will require due to existing duplicate artifacts. Nevertheless, it is not an unreasonable user expectation to have some feature like this. Downloading three quarters of some large repo only to fail with zero remaining disk space is no fun.

Intended to resurrect this pulp2 issue for pulp3: https://pulp.plan.io/issues/4668

Also available in: Atom PDF