Project

Profile

Help

Issue #1823

closed

RPMs partially downloaded

Added by mhrivnak about 8 years ago. Updated about 5 years ago.

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

Description

There have been multiple reports of RPMs ending up in /var/lib/pulp/content/ with either 0 bytes, or partially downloaded. Looking at the 6.1 code, it is difficult to identify how that is possible.

You can see here that in pulp 2.6, an rpm does not get saved into the DB until after validation has happened, and the file has been moved into place without errors. Katello has assured us that they supply "validate: true" with each sync request, so validation should be happening.

https://github.com/pulp/pulp_rpm/blob/2.6-release/plugins/pulp_rpm/plugins/importers/yum/listener.py#L85

And yet, users are seeing this happen, so we need to investigate further.


Related issues

Related to Docker Support - Issue #2142: Units created with 0-byte files when sync runs out of disk spaceCLOSED - CURRENTRELEASEdkliban@redhat.comActions
Blocked by RPM Support - Issue #2190: Unit is associated with the repo before it is copied to the final locationCLOSED - CURRENTRELEASEttereshcActions

Also available in: Atom PDF