Project

Profile

Help

Issue #442

closed

Docker repo upload skips uploading some image layers when there are multiple leaf nodes

Added by skarmark@redhat.com about 9 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Start date:
Due date:
Estimated time:
Severity:
3. High
Version - Docker:
master
Platform Release:
Target Release - Docker:
1.0.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:
Docker repo upload does not generate correct unit_key and it skips uploading some image layers when there are multiple leaf nodes.

$ pulp-admin docker repo create --repo-id=busybox

$ pulp-admin docker repo uploads upload --repo-id=busybox -f /home/skarmark/git/pulp1/pulp/busybox.tar

$ pulp-admin docker repo list
Id: busybox
Display Name: busybox
Description: None
Content Unit Counts:
Docker Image: 4

Only 4 images are uploaded when busybox actually contains more images.

+ This bug was cloned from Bugzilla Bug #1103330 +

Also available in: Atom PDF