Bug #21808

Docker Tags not getting cleared out on Promote

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

Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


When one promotes a Docker Repository from Archive to Library, the tags are not getting cleared out while the Manifests are.

1) Sync busybox (you should see around 75 tags and over 130 manifests)
2) Create a Content View pointing to this Busybox repo
3) Publish the CV
4) Goto Version 1.0 -> Docker Repositories
you should see Tag count for Library and Archive repo at 75.
5) Now create a docker filter that says "Include only glibc"
6) Publish this Content View again
7) Goto Version 2.0 -> Docker Repositories
Note the Tag count for the archive version says 4 tags while the library version still says 75

Which probably implies that promotion didn't really do its job of clearing tags in library version before copying new stuff.

Associated revisions

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

Fixes #21808 - Correct DockerTag unit import

Before This commit

would not update an existing repo. It would not clear the prior
tags before importing new ones from pulp.
This call in particular is used by the promotion operations to update
tags in a CVE repository.

After This commit

This operation is now fixed because the import for repository forcibly
clears out existing tags in the repo before the import actually starts.


#1 Updated by Partha Aji over 4 years ago

  • Bugzilla link set to 1519017

#2 Updated by The Foreman Bot over 4 years ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request added

#3 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 284

#4 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