Bug 2227902
Summary: | Satellite Capsule clamps reply to a max of 100 tags when listing the tags (break RHOSP) | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Odilon Sousa <osousa> |
Component: | Container Management - Content | Assignee: | Ian Ballou <iballou> |
Status: | CLOSED ERRATA | QA Contact: | Vladimír Sedmík <vsedmik> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.12.4 | CC: | iballou, osousa, pdudley, rlavi, vsedmik |
Target Milestone: | 6.12.5 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rubygem-smart_proxy_container_gateway-1.0.8-1.el8sat | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 2221407 | Environment: | |
Last Closed: | 2023-08-24 18:24:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Odilon Sousa
2023-07-31 19:27:21 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36616 has been resolved. Verified in 6.12.5 snap 2 (with rubygem-smart_proxy_container_gateway-1.0.8-1.el8sat.noarch) Steps: 1) Sync some big container repo to Satellite. (I used jetstack/cert-manager-controller from quay.io which had 821 tags) 2) Register an external Capsule to the Satellite, add to Library LCE and sync it. 3) Using skopeo, list the tags on both instances and compare: [user@localhost ~]$ skopeo list-tags --tls-verify=false --username=admin --password=toviszejo docker://satellite.redhat.com/bz-2227902-jetstack-jetstack_cert-manager-controller | grep '"' | wc -l 823 [user@localhost ~]$ skopeo list-tags --tls-verify=false --username=admin --password=toviszejo docker://capsule.redhat.com/bz-2227902-jetstack-jetstack_cert-manager-controller | grep '"' | wc -l 823 [user@localhost ~]$ diff <(skopeo list-tags --tls-verify=false --username=admin --password=toviszejo docker://satellite.redhat.com/bz-2227902-jetstack-jetstack_cert-manager-controller | sort) \ > <(skopeo list-tags --tls-verify=false --username=admin --password=toviszejo docker://capsule.redhat.com/bz-2227902-jetstack-jetstack_cert-manager-controller | sort) 608c608 < "Repository": "satellite.redhat.com/bz-2227902-jetstack-jetstack_cert-manager-controller", --- > "Repository": "capsule.redhat.com/bz-2227902-jetstack-jetstack_cert-manager-controller", Expected and actual results: Both instances provided the same tags, the count was higher than 100 and matched the expected tags count. Note: The `wc -l` gave two more since we got these two extra lines, which is expected: "Repository": "capsule.redhat.com/bz-2227902-jetstack-jetstack_cert-manager-controller", "Tags": [ 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 (Satellite 6.12.5 Async Update), 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/RHBA-2023:4749 |