500 Internal Server Error while copying multi-arch image into RHOCP 4.x internal registry
Issue
Disclaimer: Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.
-
oc image mirror
command ends with error:error: unable to push manifest to default-route-openshift-image-registry.apps.cluster.domain.example.com/test-multi/multi-nginx01: received unexpected HTTP status: 500 Internal Server Error error: unable to push manifest to default-route-openshift-image-registry.apps.cluster.domain.example.com/test-multi/multi-nginx01:latest: manifest invalid: manifest invalid info: Mirroring completed in 19.32s (183kB/s) error: one or more errors occurred while uploading images
-
skopeo copy --all
command ends with error:Writing manifest to image destination FATA[0013] writing manifest { "schemaVersion": 2, "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "config": { "mediaType": "application/vnd.docker.container.image.v1+json", "size": 1551, "digest": "sha256:9a016a064a421a7d8e33fb6bbe70576f14f70b0c0112c1966cea9e4494dc65e2" }, "layers": [ { "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "size": 2896369, "digest": "sha256:3c4e9198e8c15669838fa75b9fde03039cc4a256d6868d214d966bd8f27b093d" }, { "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "size": 637630, "digest": "sha256:4a5af7533539bce1d25a2fe267d265985c947e0d646f5aafd50cb878dd9e8aad" }, { "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "size": 401, "digest": "sha256:396919798efcb597f8ee50d3063ef50a1ee7ee2e07e9131e23f7f6f7aaded8ea" }, { "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", "size": 395, "digest": "sha256:b997c46c62a406a25374c1fc4cae75a143275b8621cb63ef9ee41542f7ceba42" } ] }: uploading manifest sha256:84ce43c03f090a0da66f25a83e04a5d1ffd581adff3c738ded2f3de8b0928631 to default-route-openshift-image-registry.apps.cluster.domain.example.com/w03/multi-nginx01: received unexpected HTTP status: 500 Internal Server Error
-
It works well on a local registry but not on the Openshift cluster internal registry.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.