I'm trying to create a Airgap OCP cluster, in order to do that I need to mirror the images from the below image set configuration to the following registry us-svl-registry.fyre.ibm.com/olm-mirror(Quay server). So I had already created the image set configuration and stored the credentials in /run/user/0/containers/auth.json & ~/.docker/config.json as a root user in bastion server. And while running the oc-mirror command I'm facing below issue,
The rendered catalog is invalid.
Run "oc-mirror list operators --catalog CATALOG-NAME --package PACKAGE-NAME" for more information.
error: error rendering new refs: render reference "registry.redhat.io/redhat/redhat-operator-index:v4.12": error resolving name : pulling from host registry.redhat.io failed with status code [manifests v4.12]: 401 Unauthorized
And I'm facing this issue only when creating OCP 4.12 cluster and for OCP 4.14, it works fine.
Also I had followed this solution but it still didn't work for me.
Can anyone help me on this issue?
Version
What happened?
I'm trying to create a Airgap OCP cluster, in order to do that I need to mirror the images from the below image set configuration to the following registry
us-svl-registry.fyre.ibm.com/olm-mirror
(Quay server). So I had already created the image set configuration and stored the credentials in/run/user/0/containers/auth.json
&~/.docker/config.json
as a root user in bastion server. And while running the oc-mirror command I'm facing below issue,And I'm facing this issue only when creating OCP 4.12 cluster and for OCP 4.14, it works fine. Also I had followed this solution but it still didn't work for me. Can anyone help me on this issue?
Attach the relevant portions of your
.oc-mirror.log
.What did you expect to happen?
oc-mirror command needs to work properly and need to mirror all images to registry server
Anything else we need to know?
I'm using podman
References
Enter text here.