Bug 1798686

Summary: [RFE] As a user, "Limit Sync Tags" supports wildcard characters.
Product: Red Hat Satellite Reporter: Anand Jambhulkar <ajambhul>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: low Docs Contact:
Priority: medium    
Version: 6.6.0CC: bbuckingham, bkearney, bmbouter, dkliban, fperalta, ggainey, iballou, ipanova, ktordeur, ltran, rchan, satellite6-bugs, ttereshc
Target Milestone: 6.10.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:08:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anand Jambhulkar 2020-02-05 19:32:34 UTC
Created attachment 1657995 [details]
With Sync Tag

Q1 - What is the exact nature of the problem trying to be solved with this request?

A1 - The initial and cron sync can be done in short time. It will be used fewer storage.


Q2 - List the business requirements.

A2 - Reduce of storage use and improve time of sync.


Q3 - Do you have specific timeline dependencies?

A3 - asap


Q4 - Can you please explain us the what are the functional requirements? If test cases can be provided this would be even more ideal.

A4 - Define a filter like 3.11.* to sync all images, that will be used in openshift 3.11.


Q5 - Would you be able to assist in testing this functionality if implemented?

A5 - Yes, we can test the implementation.

Comment 12 pulp-infra@redhat.com 2020-03-23 12:08:35 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 13 pulp-infra@redhat.com 2020-03-23 12:08:38 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 14 pulp-infra@redhat.com 2020-03-28 12:53:37 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

Comment 15 pulp-infra@redhat.com 2020-05-08 19:30:45 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 16 pulp-infra@redhat.com 2020-05-08 22:14:13 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.

Comment 20 Lai 2021-08-19 19:54:42 UTC
Steps to retest:

1) Create a docker repo with:
   Registry URL: https://quay.io/
   Upstream Repository: prometheus/busybox
2) Sync the repository
3) Look at the tags. There should be:
  uclibc
  latest
  glibc
4) Change the repo's Limit Sync Tags to be "*c" without the quotes
5) Sync the repository again
6) Look at the tags again. Now there should be:
  uclibc
  glibc
7) Change the Limit Sync Tags to be "*" without the quotes
8) Sync the repo again
9) Look at the tags.  There should be the same tags from step (3)

Expected:
  uclibc
  latest
  glibc

Actual:
  uclibc
  latest
  glibc

Verified on 6.10 snap 13

Comment 23 errata-xmlrpc 2021-11-16 14:08:51 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 (Moderate: Satellite 6.10 Release), 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-2021:4702