2019-11-08 15:42:18 |
Konstantinos Zagganas |
description |
I have set up a k8s cluster with the 1.16 bundle. However, when I try to run a new job, I get the following error:
"Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedCreatePodSandBox 5s (x23 over 4m49s) kubelet, juju-810b36-athena-kube-0 Failed create pod sandbox: rpc error: code = Unknown desc = failed to get sandbox image "172.16.0.239:5000/pause-amd64:3.1": failed to pull image "172.16.0.239:5000/pause-amd64:3.1": failed to resolve image "172.16.0.239:5000/pause-amd64:3.1": parse registry endpoint "172.16.0.239:5000": parse 172.16.0.239:5000: first path segment in URL cannot contain colon
"
If I change the sandbox_image in /etc/containerd/config.toml to k8s.gcr.io/pause-amd64:3.1, then the image is pulled correctly and I get an ErrorImagePullOff for the image I try to run (which exists in the registry), with the same message about the URL as before.
It seems that the problem lies with "172.16.0.239:5000" part.
I have placed the juju crashdump here: juju-crashdump-6a4cc801-53d5-4e90-b9ce-c643c28d8412.tar.xz because whenever I tried to attach it, I got an error due to the size of the file: andrea.imsi.athenarc.gr/juju-crashdump-6a4cc801-53d5-4e90-b9ce-c643c28d8412.tar.xz |
I have set up a k8s cluster with the 1.16 bundle. However, when I try to run a new job, I get the following error:
"Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedCreatePodSandBox 5s (x23 over 4m49s) kubelet, juju-810b36-athena-kube-0 Failed create pod sandbox: rpc error: code = Unknown desc = failed to get sandbox image "172.16.0.239:5000/pause-amd64:3.1": failed to pull image "172.16.0.239:5000/pause-amd64:3.1": failed to resolve image "172.16.0.239:5000/pause-amd64:3.1": parse registry endpoint "172.16.0.239:5000": parse 172.16.0.239:5000: first path segment in URL cannot contain colon
"
If I change the sandbox_image in /etc/containerd/config.toml to k8s.gcr.io/pause-amd64:3.1, then the image is pulled correctly and I get an ErrorImagePullOff for the image I try to run (which exists in the registry), with the same message about the URL as before.
It seems that the problem lies with "172.16.0.239:5000" part.
I have placed the juju crashdump here: juju-crashdump-6a4cc801-53d5-4e90-b9ce-c643c28d8412.tar.xz because whenever I tried to attach it, I got an error due to the size of the file: http://andrea.imsi.athenarc.gr/juju-crashdump-6a4cc801-53d5-4e90-b9ce-c643c28d8412.tar.xz |
|