Bug 1970458 - "oc image mirror" fails to mirror multiple images to quay.io
Summary: "oc image mirror" fails to mirror multiple images to quay.io
Keywords:
Status: CLOSED DUPLICATE of bug 1976284
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 4.7.z
Assignee: Maciej Szulik
QA Contact: zhou ying
URL:
Whiteboard:
Depends On: 1874106
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-10 14:00 UTC by Maciej Szulik
Modified: 2021-09-30 08:47 UTC (History)
21 users (show)

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.
Clone Of: 1874106
Environment:
Last Closed: 2021-09-30 08:47:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Maciej Szulik 2021-09-30 08:47:52 UTC

*** This bug has been marked as a duplicate of bug 1976284 ***


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