crc-org / snc

Single Node Cluster creation scripts for OpenShift 4.x as used by CodeReady Containers
https://crc.dev
Apache License 2.0
103 stars 50 forks source link

Error getting `baremetal_runtimecfg` when building 4.16.0-rc.6 #922

Closed adrianriobo closed 5 months ago

adrianriobo commented 5 months ago

We are hitting an error due to not authorization when pulling the image to create the baremetal_runtimecfg

BAREMETAL_RUNTIMECFG=quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0aa8e5d7a7b4c6e7089fee8c2fcfd4ac66dd47b074701824b69319cfae8435e2
+ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i id_ecdsa_crc core@api.crc.testing -- 'sudo podman create --name baremetal_runtimecfg quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0aa8e5d7a7b4c6e7089fee8c2fcfd4ac66dd47b074701824b69319cfae8435e2'
Warning: Permanently added 'api.crc.testing' (ED25519) to the list of known hosts.
Trying to pull quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0aa8e5d7a7b4c6e7089fee8c2fcfd4ac66dd47b074701824b69319cfae8435e2...
Error: initializing source docker://quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0aa8e5d7a7b4c6e7089fee8c2fcfd4ac66dd47b074701824b69319cfae8435e2: reading manifest sha256:0aa8e5d7a7b4c6e7089fee8c2fcfd4ac66dd47b074701824b69319cfae8435e2 in quay.io/openshift-release-dev/ocp-v4.0-art-dev: unauthorized: access to the requested resource is not authorized
+ jobs=($(jobs -p))
adrianriobo commented 5 months ago

It did not happen on the next execution. So closed and marked as flaky error