crc: [BUG] All pods failing to pull images
General information
- OS: macOS
- Hypervisor: KVM / Hyper-V / hyperkit / vfkit
- Did you run
crc setupbefore starting it (Yes/No)? Yes - Running CRC on: Laptop
CRC version
CRC version: 2.9.0+589ab2cd
OpenShift version: 4.11.3
Podman version: 4.2.0
CRC status
DEBU CRC version: 2.9.0+589ab2cd
DEBU OpenShift version: 4.11.3
DEBU Podman version: 4.2.0
DEBU Running 'crc status'
DEBU Checking file: /Users/convery/.crc/machines/crc/.crc-exist
DEBU Checking file: /Users/convery/.crc/machines/crc/.crc-exist
DEBU Running SSH command: df -B1 --output=size,used,target /sysroot | tail -1
DEBU Using ssh private keys: [/Users/convery/.crc/machines/crc/id_ecdsa /Users/convery/.crc/cache/crc_vfkit_4.11.3_arm64/id_ecdsa_crc]
DEBU SSH command results: err: <nil>, output: 32737570816 13377323008 /sysroot
CRC VM: Running
OpenShift: Running (v4.11.3)
Podman:
Disk Usage: 13.38GB of 32.74GB (Inside the CRC VM)
Cache Usage: 36.85GB
Cache Directory: /Users/convery/.crc/cache
CRC config
- consent-telemetry : no
Host Operating System
ProductName: macOS
ProductVersion: 12.6
BuildVersion: 21G115
Steps to reproduce
- Start arc
- Go to the cluster UI and view the pods in the
openshift-marketplaceproject
Expected
All pods to be running
Actual
All pods bar 1 are failing as they are timing out trying to talk to redhat.
Looks like a networking issue given Failed to pull image "registry.redhat.io/redhat/certified-operator-index:v4.11": rpc error: code = Unknown desc = Get "https://registry.redhat.io/auth/realms/rhcc/protocol/redhat-docker-v2/auth?scope=repository%3Aredhat%2Fcertified-operator-index%3Apull&service=docker-registry": dial tcp: lookup registry.redhat.io on 192.168.127.1:53: read udp 192.168.127.2:60694->192.168.127.1:53: i/o timeout
If I try and pull a random image it also fails i.e. Failed to pull image "nginx": rpc error: code = Unknown desc = pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 192.168.127.1:53: read udp 192.168.127.2:55975->192.168.127.1:53: i/o timeout
Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug
Please consider posting the output of crc start --log-level debug on http://gist.github.com/ and post the link in the issue.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 24 (8 by maintainers)
I’ve just tried this with the latest crc release (2.10.1) on a M1 macbook and I don’t see this issue. The
openshift-marktplacepods are all running. Connecting to registry.redhat.io from within the VM “works” (it connects but fails with ‘invalid username/password’ which is expected)