Chirayu Gupta
04/15/2023, 1:29 PM[1/1] currentAttempt done. Last Error: USER::containers with unready status: [f1292d6636de043288f1-n0-0]|Back-off pulling image "<http://cr.flyte.org/flyteorg/flytekit:py3.9-1.5.0|cr.flyte.org/flyteorg/flytekit:py3.9-1.5.0>"
On further debugging, I came to know this due to Container is failed to pull the image -
<http://ghcr.io/flyteorg/flytekit:py3.9-latest|ghcr.io/flyteorg/flytekit:py3.9-latest>
Here are the Kubernetes event logs -
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 54s default-scheduler Successfully assigned default/py39-cacher to ac11a6c8fb0e
Normal Pulling 15s (x3 over 54s) kubelet Pulling image "<http://ghcr.io/flyteorg/flytekit:py3.9-latest|ghcr.io/flyteorg/flytekit:py3.9-latest>"
Warning Failed 15s (x3 over 54s) kubelet Failed to pull image "<http://ghcr.io/flyteorg/flytekit:py3.9-latest|ghcr.io/flyteorg/flytekit:py3.9-latest>": rpc error: code = Unknown desc = failed to pull and unpack image "<http://ghcr.io/flyteorg/flytekit:py3.9-latest|ghcr.io/flyteorg/flytekit:py3.9-latest>": failed to resolve reference "<http://ghcr.io/flyteorg/flytekit:py3.9-latest|ghcr.io/flyteorg/flytekit:py3.9-latest>": failed to do request: Head "<https://ghcr.io/v2/flyteorg/flytekit/manifests/py3.9-latest>": x509: certificate signed by unknown authority
Warning Failed 15s (x3 over 54s) kubelet Error: ErrImagePull
Normal BackOff 2s (x3 over 54s) kubelet Back-off pulling image "<http://ghcr.io/flyteorg/flytekit:py3.9-latest|ghcr.io/flyteorg/flytekit:py3.9-latest>"
Warning Failed 2s (x3 over 54s) kubelet Error: ImagePullBackOff
Ketan (kumare3)
Chirayu Gupta
04/15/2023, 4:56 PM$(get-infra-prompt)(base) chirayu.gupta@BLRETV-K32FK2W6 ~ % docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ac11a6c8fb0e <http://cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-bc521dac6f0dc6e1942efa6447611cd3354540c4|cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-bc521dac6f0dc6e1942efa6447611cd3354540c4> "/bin/k3d-entrypoint…" 59 seconds ago Up 55 seconds 0.0.0.0:6443->6443/tcp, 0.0.0.0:30000-30002->30000-30002/tcp, 0.0.0.0:30080->30080/tcp flyte-sandbox
``````docker exec -it ac11a6c8fb0e sh
/ # kubectl get pods
NAME READY STATUS RESTARTS AGE
py39-cacher 0/1 ErrImagePull 0 33s
/ # docker
sh: docker: not found
Ketan (kumare3)
Chirayu Gupta
04/15/2023, 5:34 PMKetan (kumare3)
Chirayu Gupta
04/15/2023, 6:27 PMKetan (kumare3)
Chirayu Gupta
04/16/2023, 3:19 PMKetan (kumare3)