Project

General

Profile

Bug #21845

Docker Blobs not getting cleared out during promotion

Added by Partha Aji over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Container
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

1) Sync busybox
2) Create a CV
3) add the Busybox repo
4) Publish
5) use pulp admin to check the version 1 repo

$ pulp-admin -u admin -p admin docker repo list
....
Id:                  1-<cv_name>-v1_0-....
Display Name:        <repo name>
Description:         None
Content Unit Counts: 
  Docker Blob:          93
  Docker Manifest:      115
  Docker Manifest List: 4
  Docker Tag:           128
......
Id:                  1-<cv_name>-library....
Display Name:        <repo name>
Description:         None
Content Unit Counts: 
  Docker Blob:          93
  Docker Manifest:      115
  Docker Manifest List: 4
  Docker Tag:           128
......

6) Now create a include filter to "only include glibc"
7) publish
8) use pulp admin to check the version 2 repo
$ pulp-admin -u admin -p admin docker repo list
....
Id:                  1-<cv_name>-v2_0-....
Display Name:        <repo name>
Description:         None
Content Unit Counts: 
  Docker Blob:          15
  Docker Manifest:      8
  Docker Manifest List: 1
  Docker Tag:           5
......
Id:                  1-<cv_name>-library....
Display Name:        <repo name>
Description:         None
Content Unit Counts: 
  Docker Blob:          43
  Docker Manifest:      8
  Docker Manifest List: 1
  Docker Tag:           5
......

Expected:
The values for v 2.0 will exactly match up the values for the library repo

Actual:
The docker blob values are different.


Related issues

Blocked by Runcible - Bug #21844: Add docker blob unit typeClosed2017-12-01

Associated revisions

Revision a0e098cd (diff)
Added by Partha Aji over 4 years ago

Fixes #21845 - Removes docker blobs on promotion

Before this commit

During promotion one of the pulp docker content types
'DockerBlob' did not cleared when the 'clear' operation
was run.

After this commit

That gets wiped out.

History

#1 Updated by Partha Aji over 4 years ago

  • Blocked by Bug #21844: Add docker blob unit type added

#2 Updated by Partha Aji over 4 years ago

  • Bugzilla link set to 1519017

#3 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7099 added

#4 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 284

#5 Updated by Brad Buckingham over 4 years ago

  • Target version changed from 236 to 240

#6 Updated by Partha Aji over 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF