Project

Profile

Help

Issue #1835

closed

export fails when units are not downloaded

Added by mhrivnak almost 8 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.8.0
Platform Release:
2.8.3
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

When a repository has been sync'd with an on_demand download policy, and one or more units have not been fully downloaded, the export distributor will fail, reporting numerous file copy operation failures. The distributor should instead fail gracefull.

A good option would be to check at the beginning of the task if all units in the repo are downloaded, using a simple database query. Fail gracefully if not. This would prevent it from attempting any copy operations.

Also available in: Atom PDF