Skip to content

Fail to deploy KEDA - read udp x.x.x.x:46084->y.y.y.y:53: i/o timeout on MacOS (Apple Silicon) #3377

@mhcastro

Description

@mhcastro

General information

  • OS: macOS (Apple Silicon)
  • Did you run crc setup before starting it? 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/myuser/.crc/machines/crc/.crc-exist
DEBU Checking file: /Users/myuser/.crc/machines/crc/.crc-exist
DEBU Running SSH command: df -B1 --output=size,used,target /sysroot | tail -1
DEBU Using ssh private keys: [/Users/myuser/.crc/machines/crc/id_ecdsa /Users/myuser/.crc/cache/crc_vfkit_4.11.3_arm64/id_ecdsa_crc]
DEBU SSH command results: err: <nil>, output: 32737570816 13706608640 /sysroot
CRC VM:          Running
OpenShift:       Running (v4.11.3)
Podman:
Disk Usage:      13.71GB of 32.74GB (Inside the CRC VM)
Cache Usage:     36.85GB
Cache Directory: /Users/myuser/.crc/cache

CRC config

- consent-telemetry                     : no

Host Operating System

ProductName:	macOS
ProductVersion:	12.6
BuildVersion:	21G115

Steps to reproduce

  1. Deployed KEDA using helm, per documendation: helm install keda kedacore/keda --namespace keda
  2. Containers going into ErrImagePull.
keda-operator-metrics-apiserver-75d6895d6c-75j5r   0/1     ErrImagePull        0          33s
keda-operator-698598c4d-74k9j                      0/1     ErrImagePull        0          33s
  1. Getting the following error:
Events:
Type     Reason          Age   From               Message
----     ------          ----  ----               -------
Normal   Scheduled       44s   default-scheduler  Successfully assigned keda/keda-operator-metrics-apiserver-75d6895d6c-75j5r to crc-j2d48-master-0 by crc-j2d48-master-0
Normal   AddedInterface  41s   multus             Add eth0 [z.z.z.z/23] from openshift-sdn
Normal   Pulling         41s   kubelet            Pulling image "ghcr.io/kedacore/keda-metrics-apiserver:2.8.1"
Warning  Failed          11s   kubelet            Failed to pull image "ghcr.io/kedacore/keda-metrics-apiserver:2.8.1": rpc error: code = Unknown desc = pinging container registry ghcr.io: Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on x.x.x.x:53: read udp y.y.y.y:46084->x.x.x.x:53: i/o timeout
Warning  Failed          11s   kubelet            Error: ErrImagePull
Normal   BackOff         11s   kubelet            Back-off pulling image "ghcr.io/kedacore/keda-metrics-apiserver:2.8.1"
Warning  Failed          11s   kubelet            Error: ImagePullBackOff
  1. Direct image pull using Podman works fine: podman pull ghcr.io/kedacore/keda-metrics-apiserver:2.8.1

There is an issue in Linux (Issue #253) that sounds similar, but it is in Federa and the resolution may be different.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions