Bug 1976285 - [Azure] While mirroring images to private registry throwing error: invalid character '<' looking for beginning of value
Summary: [Azure] While mirroring images to private registry throwing error: invalid ch...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.6.z
Assignee: Maciej Szulik
QA Contact: kuiwang
URL:
Whiteboard:
Depends On: 1976284
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-25 16:57 UTC by Maciej Szulik
Modified: 2021-07-30 14:40 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: During mirroring we create an authorization header with all the image information. Consequence: Some registries have limits on header size which are violated by the size. Fix: Force --skip-multiple-scopes for oc adm catalog mirror command. Result: Mirroring works as expected.
Clone Of: 1976284
Environment:
Last Closed: 2021-07-14 07:16:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift oc pull 873 0 None open [release-4.6] [release-4.7] Bug 1976285: skip-multiple-scopes with adm catalog mirror 2021-07-02 08:57:17 UTC
Red Hat Product Errata RHBA-2021:2641 0 None None None 2021-07-14 07:17:12 UTC

Comment 3 kuiwang 2021-07-06 11:58:07 UTC
--
[jzhang@dhcp-140-36 kuiwang]$ ./oc version --client
Client Version: 4.6.0-0.nightly-2021-07-03-024629
[jzhang@dhcp-140-36 kuiwang]$ ./oc adm catalog mirror  quay.io/openshift-qe-optional-operators/ocp4-index:latest quay.io/olmqe
src image has index label for database path: /database/index.db
using database path mapping: /database/index.db:/tmp/660889478
wrote database to /tmp/660889478
using database at: /tmp/660889478/index.db
quay.io/
  olmqe/amq7-amq-streams-bridge-rhel7
    blobs:
      registry.redhat.io/amq7/amq-streams-bridge-rhel7 sha256:57584b59d88badb977c5077949af3d65f9b9f864d1c9f295a97aed0ab555e865 1.645KiB
      registry.redhat.io/amq7/amq-streams-bridge-rhel7 sha256:0dc69daaa449d5bb3174c603b31b9cb51e446f8b8bb4f0604c12dfbd7e587536 1.771KiB
      registry.redhat.io/amq7/amq-streams-bridge-rhel7 sha256:2814fe1cf24ff0dff937f2fa98bfb5e1607a091eaed8821d08fadb46d2e4fa15 1.856KiB
      registry.redhat.io/amq7/amq-streams-bridge-rhel7 sha256:41f5ea5ba7aa3cc6de6a57509aba3b3fd1dcf25cd01bee01450705a8b74daef2 1.858KiB
...
uploading: quay.io/olmqe/openshift4-ose-kube-rbac-proxy sha256:9c96f6ba43f8eb443b37412d542c69aa0654ed9086b415d5c33f5eb5f4393e59 17.66MiB
uploading: quay.io/olmqe/openshift4-ose-kube-rbac-proxy sha256:c637e61638a4e3ef9f1182cc5d3924aabde5627a3e5d702a5f86d51ee38a03fd 16.09MiB
uploading: quay.io/olmqe/openshift4-ose-kube-rbac-proxy sha256:d0b7518aeb1ed34ff2f70deab807d9c6fe92872d94a775702ba464264434e499 10.81MiB
uploading: quay.io/olmqe/openshift4-ose-kube-rbac-proxy sha256:da4f8ae5749739892d3311c1a8fb31b55efdadd8aceedd48faab3f6b3c1ba607 17.53MiB
--

Comment 5 errata-xmlrpc 2021-07-14 07:16:58 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 (OpenShift Container Platform 4.6.38 bug fix 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-2021:2641


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