"installDS" pipeline failed to prune DS index image on s390x OCP 4.17.0:
18:20:36 + oc mirror --config=/mnt/hudson_workspace/workspace/Testing/Disconnected/installDS/image-set.yaml docker://10.0.158.178:5000 --continue-on-error --source-skip-tls --ignore-history --dest-skip-tls --dest-use-http 18:20:36 Checking push permissions for 10.0.158.178:5000 18:20:36 Creating directory: oc-mirror-workspace/src/publish 18:20:36 Creating directory: oc-mirror-workspace/src/v2 18:20:36 Creating directory: oc-mirror-workspace/src/charts 18:20:36 Creating directory: oc-mirror-workspace/src/release-signatures 18:20:51 18:20:51 The rendered catalog is invalid. 18:20:51 18:20:51 Run "oc-mirror list operators --catalog CATALOG-NAME --package PACKAGE-NAME" for more information. 18:20:51 18:20:51 error: error rendering new refs: render reference "registry-proxy.engineering.redhat.com/rh-osbs/iib:830595": invalid character '<' in string escape code
The error reproduced with https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.17.0/openshift-client-linux.tar.gz
Solution: (https://access.redhat.com/solutions/4034641)
Resolution
Please check the URL you are using.
We have a different URL for GUI and CLI and while using the GUI one with oc login gives the below error.
Either you can export the kubeconfig file and simply use "oc login -u $user -p $password without specifying the URL or you can get the correct CLI URL and then try with oc login.
Raw
$ oc login https://URI
The server uses a certificate signed by an unknown authority.
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n): y
error: invalid character '<' looking for beginning of value