Bug 1970458
Summary: | "oc image mirror" fails to mirror multiple images to quay.io | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Maciej Szulik <maszulik> |
Component: | oc | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED DUPLICATE | QA Contact: | zhou ying <yinzhou> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.6 | CC: | aos-bugs, awestbro, daniel.hagen, dbewley, dmesser, dyan, gbenhaim, jiazha, jmalde, jokerman, maszulik, mfojtik, moddi, oarribas, plarsen, rbohne, somalley, tomckay, vigoyal, wking, yinzhou |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 4.7.z | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
When logging into registry oc sends all requested scopes, which with many images causes the headers sent to registry to be pretty big.
Consequence:
Some registries have limits on the size of header which might reject big mirroring requests.
Fix:
Set --skip-multiple-scopes to always true for oc adm catalog mirror which doesn't expose this flag. For oc image mirror users are advised to explicitly set this flag.
Result:
Mirroring works as expected.
|
Story Points: | --- |
Clone Of: | 1874106 | Environment: | |
Last Closed: | 2021-09-30 08:47:52 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: | |||
Bug Depends On: | 1874106 | ||
Bug Blocks: |
Comment 2
Maciej Szulik
2021-09-30 08:47:52 UTC
|