Unable to update cni config: No networks found in /etc/kubernetes/cni/net.d

155 views
Skip to first unread message

Lior Kamrat

unread,
Jul 3, 2017, 7:20:38 AM7/3/17
to CoreOS User
Hi there,

I am trying to make the Azure terraform deployment to work and having some hard times.
After all Azure resources has provisioned using "terraform apply", I am getting the following error:

Jul 03 11:04:17 tectonic-master-000001 kubelet-wrapper[924]: W0703 11:04:17.997598     924 cni.go:157] Unable to update cni config: No networks found in /etc/kubernetes/cni/net.d

Jul 03 11:04:17 tectonic-master-000001 kubelet-wrapper[924]: E0703 11:04:17.998152     924 kubelet.go:2067] Container runtime network not ready: NetworkReady=false reason:NetworkPluginN


I am deplying using an existing vnet with cidr 172.18.0.0/16.
There are also pre-configured subnets:

Masters - 172.18.0.0/24
Workers - 172.18.1.0/24

In my terraform plan I am using the following:

tectonic_azure_vnet_cidr_block = "172.18.0.0/16"
tectonic_cluster_cidr = "172.18.2.0/24"
tectonic_service_cidr = "172.18.3.0/24"

What am I doing wrong?

Lior Kamrat

unread,
Jul 3, 2017, 7:29:27 AM7/3/17
to CoreOS User
Forgot to mention that this is the Tectonic Azure terraform deployment
Reply all
Reply to author
Forward
0 new messages