Bug 1649471 - [Container Admin] Docker repositories sync - Limit Sync Tags is ignored
Summary: [Container Admin] Docker repositories sync - Limit Sync Tags is ignored
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
high vote
Target Milestone: 6.5.0
Assignee: Partha Aji
QA Contact: Mirek Długosz
Depends On:
TreeView+ depends on / blocked
Reported: 2018-11-13 16:32 UTC by Mirek Długosz
Modified: 2022-03-13 16:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-05-14 12:38:50 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 25615 0 Normal Closed Docker repositories sync - Limit Sync Tags is ignored 2021-02-14 05:08:14 UTC
Red Hat Product Errata RHSA-2019:1222 0 None None None 2019-05-14 12:38:58 UTC

Description Mirek Długosz 2018-11-13 16:32:25 UTC
Content of "Limit Sync Tags" field on docker repository page doesn't seem to take any effect when synchronizing repo.

I was able to download only selected tag using `pulp-admin` and instructions at https://docs.pulpproject.org/plugins/pulp_docker/user-guide/recipes.html#whitelist-tags-to-sync . It seems that Pulp part is working fine, but integration between Katello and Pulp is not working properly.

This issue is also present in upstream version of Foreman.

Version-Release number of selected component (if applicable):
Satellite 6.5 snap 3

Steps to Reproduce:
1. Create new product
2. Add repo of type docker to it; registry URL: https://registry-1.docker.io/ ; Upstream repository name: alpine
3. Set Limit Sync Tags value to `latest`
4. Sync repo

Actual results:
Entire repo is synced; Container Image Tags shows that 12 tags were synced

Expected results:
Only selected tag is synced (actually, I think all synonymous tags will be synced).

Additional info:

Comment 4 Partha Aji 2018-12-04 06:38:51 UTC
Connecting redmine issue https://projects.theforeman.org/issues/25612 from this bug

Comment 5 Partha Aji 2018-12-04 06:56:42 UTC
Connecting redmine issue https://projects.theforeman.org/issues/25615 from this bug

Comment 6 Mirek Długosz 2019-01-03 13:31:19 UTC
"Limit Sync Tags" is working as of Satellite 6.5 snap 9.
After setting option to "latest" and syncing repository, Content Count shows that only one tag was synchronized. Sync is quick as well.

Tested on:
Satellite 6.5 snap 9

Comment 8 errata-xmlrpc 2019-05-14 12:38:50 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.


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