Project

Profile

Help

Issue #442

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

Added by skarmark@redhat.com over 5 years ago. Updated 7 months 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 +

History

#2 Updated by skarmark@redhat.com over 5 years ago

$ 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: 8

+ This comment was cloned from Bugzilla #1103330 comment 2 +

#3 Updated by bmbouter over 5 years ago

  • Severity changed from High to 3. High

#4 Updated by bmbouter over 5 years ago

  • Version deleted (Master)
  • Version - Docker set to master

#5 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from MODIFIED to 5
  • Target Release - Docker set to 1.0.0

#6 Updated by pthomas@redhat.com over 5 years ago

  • Status changed from 5 to 6

verified

[root@mgmt7 ~]# pulp-admin docker repo list
+----------------------------------------------------------------------+
                          Docker Repositories
+----------------------------------------------------------------------+

Id:                  busybox
Display Name:        busybox
Description:         None
Content Unit Counts: 
  Docker Image: 3

<\pre>

#7 Updated by dkliban@redhat.com about 5 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#9 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF