Calico plugin deployment fails with Atomic image.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
magnum (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Deployment details:
template:
cluster_distro: fedora-atomic
network_driver: calico
image:
Fedora-
labels:
{'kube_tag': 'v1.15.4', 'kube_allow_priv': 'true', 'ingress': 'nginx', 'tiller_enabled': 'true', 'tiller_tag': 'v2.13.1'} |
Issue:
The calico deployment fails and I see the following in the system logs:
Unable to update cni config: No networks found in /etc/cni/net.d
Container runtime network not ready: NetworkReady=false reason:
The directory /etc/cni/net.d is empty.
When I try to deploy calico manually with the following commands:
CALICO_
/usr/local/
I get the following:
The DaemonSet "calico-node" is invalid: spec.template.
I believe this is caused by missing --allow-
This is a workaround that fixed it for me, along with label: 'kube_allow_priv': 'true':
--- /usr/lib/
+++ /usr/lib/
@@ -60,7 +60,7 @@
-KUBE_API_
+KUBE_API_
Not sure if I missed any config options but I could not find if the flag was added anywhere else.
Henro
Status changed to 'Confirmed' because the bug affects multiple users.