glamorous-afternoon-50134
06/18/2025, 8:23 AMJun 18 081655 SECPRDAPP12 k3s[1552863]: E0618 081655.323339 1552863 pod_workers.go:1298] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"superset\" with ErrImagePull: \"rpc error: code = NotFound desc = failed to pull and unpack image \\\"update.domain.com/rc/app/superset:1.30.0-rc3\\\": failed to resolve reference \\\"update.domain.com/rc/app/superset:1.30.0-rc3\\\": update.domain.com/rc/app/superset:1.30.0-rc3: not found\"" pod="app-data/superset-6476db494f-js5hc" podUID="d9d9b0f6-5886-4de3-b70d-cf2664917c83"However , the image has been successfully pulled on the master and is still there according to
ctr
:
# ctr -n k8s.io images ls|grep superset
update.domain.com/rc/app/superset:1.30.0-rc3 application/vnd.oci.image.manifest.v1+json sha256:7cdd2ff8134ad0f176f6d63ce93e91b25c74ed127caa20d995e82b6da9575cb0 426.7 MiB linux/amd64 io.cri-containerd.image=managed
update.domain.com/rc/app/superset@sha256:7cdd2ff8134ad0f176f6d63ce93e91b25c74ed127caa20d995e82b6da9575cb0 application/vnd.oci.image.manifest.v1+json sha256:7cdd2ff8134ad0f176f6d63ce93e91b25c74ed127caa20d995e82b6da9575cb0 426.7 MiB linux/amd64Does anyone have any idea why this would be happening, how I could debug it and how I could resolve it? Thanks a lot !
creamy-pencil-82913
06/18/2025, 10:05 AM--debug
or debug: true
in the config and check the logs for messages from spegelcreamy-pencil-82913
06/18/2025, 10:07 AMcrictl pull <http://update.domain.com/rc/app/superset:1.30.0-rc3|update.domain.com/rc/app/superset:1.30.0-rc3>
might also show some relevant logscreamy-pencil-82913
06/18/2025, 10:08 AMthe tag of some images used by the app After the image tag change
though?creamy-pencil-82913
06/18/2025, 10:09 AMglamorous-afternoon-50134
06/18/2025, 10:11 AMglamorous-afternoon-50134
06/18/2025, 10:12 AMglamorous-afternoon-50134
06/18/2025, 10:13 AMglamorous-afternoon-50134
06/18/2025, 10:47 AM--debug
on the master and when I crictl pull
from the agent, I still get the NotFound
eror but nothing in the master's logs.
Worth noting, I have --disable-default-registry-endpoint
set on the agent to force everyting to go through the embedded registry and my registries.yaml looks like this:
```mirrors:
update.domain.com:
docker.io:
public.ecr.aws:
quay.io:
registry.k8s.io:```glamorous-afternoon-50134
06/18/2025, 1:13 PMglamorous-afternoon-50134
06/18/2025, 1:23 PMJun 18 132111 SECPRDAPP12 k3s[3885758]: time="2025-06-18T132111Z" level=info msg="spegel 2025/06/18 132111 p2p: \"msg\"=\"could not get bootstrap addresses\" \"error\"=\"client not ready\""
glamorous-afternoon-50134
06/18/2025, 3:01 PMJun 18 145956 ip-10-201-101-11 k3s[1901844]: 2025-06-18T145956.698Z WARN dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:233 failed when refreshing routing table {"error": "2 errors occurred:\n\t* failed to query for self, err=failed to find any peer in table\n\t* failed to refresh cpl=0, err=failed to find any peer in table\n\n"}as well as in the agent's logs :
Jun 18 145711 SECPRDAPP12 k3s[3885758]: 2025-06-18T145711.078Z WARN dht/RtRefreshManager rtrefresh/rt_refresh_manager.go:233 failed when refreshing routing table {"error": "2 errors occurred:\n\t* failed to query for self, err=failed to find any peer in table\n\t* failed to refresh cpl=0, err=failed to find any peer in table\n\n"}
creamy-pencil-82913
06/18/2025, 7:18 PMcreamy-pencil-82913
06/18/2025, 7:19 PM<http://p2p.k3s.cattle.io/node-address|p2p.k3s.cattle.io/node-address>
annotation. If they are not routable to each other, or the p2p or registry ports are blocked, mirroring will not work.creamy-pencil-82913
06/18/2025, 7:20 PMglamorous-afternoon-50134
06/19/2025, 7:21 AMglamorous-afternoon-50134
06/19/2025, 7:45 AMglamorous-afternoon-50134
06/19/2025, 7:57 AMcreamy-pencil-82913
06/19/2025, 7:17 PMcreamy-pencil-82913
06/19/2025, 7:18 PMglamorous-afternoon-50134
06/20/2025, 5:41 AMJun 18 102414 SECPRDAPP12 k3s[3657753]: time="2025-06-18T102414Z" level=info msg="Starting distributed registry mirror at https://10.51.1.12:6443/v2 for registries [update.domain.com docker.io public.ecr.aws quay.io registry.k8s.io]"
Jun 18 102414 SECPRDAPP12 k3s[3657753]: time="2025-06-18T102414Z" level=info msg="Starting distributed registry P2P node at 10.51.1.12:5001"Or this one with the wildcard:
Jun 19 130732 SECPRDAPP12 k3s[2281683]: time="2025-06-19T130732Z" level=info msg="Starting distributed registry mirror at https://10.51.1.12:6443/v2 for registries [*]"
Jun 19 130732 SECPRDAPP12 k3s[2281683]: time="2025-06-19T130732Z" level=info msg="Starting distributed registry P2P node at 10.51.1.12:5001"
creamy-pencil-82913
06/20/2025, 7:10 AMglamorous-afternoon-50134
06/20/2025, 7:44 AMJun 20 074259 SECPRDAPP12 k3s[15040]: time="2025-06-20T074259Z" level=info msg="spegel 2025/06/20 074259 \"msg\"=\"\" \"error\"=\"mirror with image component update.domain.com/rc/app/superset:1.30.0-rc3 could not be found\" \"path\"=\"/v2/rc/app/superset/manifests/1.30.0-rc3\" \"status\"=404 \"method\"=\"HEAD\" \"latency\"=\"769.416µs\" \"ip\"=\"127.0.0.1\" \"handler\"=\"mirror\""
glamorous-afternoon-50134
06/20/2025, 7:44 AMmirrors:
"*":
creamy-pencil-82913
06/20/2025, 10:51 PMglamorous-afternoon-50134
06/21/2025, 7:44 AMcreamy-pencil-82913
06/21/2025, 8:02 AMglamorous-afternoon-50134
06/21/2025, 8:06 AMcreamy-pencil-82913
06/21/2025, 8:39 AMglamorous-afternoon-50134
06/21/2025, 8:46 AMglamorous-afternoon-50134
06/21/2025, 9:12 AMbland-painting-61617
06/23/2025, 9:16 AMtime="2025-06-23T10:03:54.825176653+01:00" level=error msg="PullImage \"<http://registry.k8s.io/sig-storage/csi-provisioner:v5.0.2\|registry.k8s.io/sig-storage/csi-provisioner:v5.0.2\>" failed" error="rpc error: code = NotFound desc = failed to pull and unpack image \"<http://registry.k8s.io/sig-storage/csi-provisioner:v5.0.2\|registry.k8s.io/sig-storage/csi-provisioner:v5.0.2\>": failed to resolve reference \"<http://registry.k8s.io/sig-storage/csi-provisioner:v5.0.2\|registry.k8s.io/sig-storage/csi-provisioner:v5.0.2\>": <http://registry.k8s.io/sig-storage/csi-provisioner:v5.0.2|registry.k8s.io/sig-storage/csi-provisioner:v5.0.2>: not found"
glamorous-afternoon-50134
06/27/2025, 9:41 AMK3S_URL
that was using the wrong machine name. We set it to use the machine's IP (or correct hostname) and it worked.bland-painting-61617
06/27/2025, 9:46 AMglamorous-afternoon-50134
06/27/2025, 9:46 AMbland-painting-61617
06/27/2025, 9:48 AMglamorous-afternoon-50134
06/27/2025, 9:49 AM