Project

Profile

Help

Issue #101

closed

sync after upload clobbers parent_id and size

Added by mhrivnak almost 10 years ago. Updated over 5 years ago.

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

Description

If you upload a tarball of docker images to repo A and then do a sync of repo B that includes the same images, the parent_id and size attributes on the common units gets clobbered by the sync process.

  1. docker pull busybox
  2. docker save busybox > bb.tar
  3. pulp-admin docker repo uploads upload -f bb.tar --repo-id=repoA
  4. pulp-admin docker repo images --repo-id=repoA # note that ParentId and Size are populated for some images
  5. pulp-admin docker repo create --repo-id=repoB --feed=https://index.docker.io --upstream-name=busybox
  6. pulp-admin docker repo images --repo-id=repoA # note that ParentId and Size are now None

This was seen on both rhel7 and centos7 with both pulp 2.5.1-1 and 2.6.0-0.2.beta. Both used pulp_docker 0.2.1-1


Files

images_list.txt (1.57 KB) images_list.txt mhrivnak, 01/08/2015 10:33 PM

Also available in: Atom PDF