Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1519017 - Docker Tags not getting cleared out on Promote
Summary: Docker Tags not getting cleared out on Promote
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Container Management - Content
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.4.0
Assignee: Partha Aji
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-29 22:57 UTC by Partha Aji
Modified: 2021-06-10 13:45 UTC (History)
8 users (show)

Fixed In Version: rubygem-katello-3.4.5.44-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 19:26:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
verification screenshot (43.63 KB, image/png)
2018-06-19 08:28 UTC, Peter Ondrejka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21808 0 Normal Closed Docker Tags not getting cleared out on Promote 2020-10-30 13:44:40 UTC
Foreman Issue Tracker 21844 0 Normal Closed Add docker blob unit type 2020-10-30 13:44:40 UTC
Foreman Issue Tracker 21845 0 Normal Closed Docker Blobs not getting cleared out during promotion 2020-10-30 13:44:56 UTC
Foreman Issue Tracker 22157 0 Normal Closed uninitialized constant - RemoveDockerTag on publish 2020-10-30 13:44:41 UTC

Description Partha Aji 2017-11-29 22:57:27 UTC
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.

Comment 1 Partha Aji 2017-11-29 22:57:32 UTC
Created from redmine issue http://projects.theforeman.org/issues/21808

Comment 2 Partha Aji 2017-11-29 22:57:35 UTC
Upstream bug assigned to None

Comment 4 Satellite Program 2017-12-01 23:13:36 UTC
Upstream bug assigned to paji

Comment 7 Satellite Program 2017-12-11 15:13:46 UTC
Upstream bug assigned to paji

Comment 9 Satellite Program 2017-12-20 03:13:35 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21845 has been resolved.

Comment 12 Partha Aji 2018-01-04 20:20:31 UTC
Connecting redmine issue http://projects.theforeman.org/issues/22157 from this bug

Comment 13 Satellite Program 2018-01-09 15:13:59 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/22157 has been resolved.

Comment 15 Peter Ondrejka 2018-06-19 08:28:07 UTC
Created attachment 1452841 [details]
verification screenshot

Comment 16 Peter Ondrejka 2018-06-19 08:29:00 UTC
Verified on Satellite 6.4 snap 7, see the attached screenshot

Comment 18 Bryan Kearney 2018-10-16 19:26:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2927


Note You need to log in before you can comment on or make changes to this bug.