You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using OpenYurt with Cilium CNI, cilium-agent (DaemonSets) initialization cannot be completed since it does not have the access permission to /opt/cni/bin.
How to reproduce it (as minimally and precisely as possible):
yurtadm join from edge device. (kubelet should not be installed, so that yurtadm creates the /opt/cni/bin with 0600 permission)
enable cilium with cilium install.
the edge node cannot be READY since cilium-agent will fail to initialize.
Anything else we need to know?:
In general directory permission 0600 does not make sense to me, since the owner cannot change the directory in it.
In addition, OpenYurt should not put the different access permission in default, since this could lead the unexpected problems like this. saying, /opt/cni/bin is not dedicated directory for OpenYurt but anyone could read and execute.
Environment:
OpenYurt version: v1.1.0
Kubernetes version (use kubectl version): 1.22.13
OS (e.g: cat /etc/os-release): Ubuntu 20.04
Kernel (e.g. uname -a): 5.4.0-126-generic
Install tools:
Others:
others
/kind bug
The text was updated successfully, but these errors were encountered:
What happened:
When using OpenYurt with Cilium CNI, cilium-agent (DaemonSets) initialization cannot be completed since it does not have the access permission to
/opt/cni/bin
.see more details for cilium/cilium#22933
What you expected to happen:
OpenYurt can enable Cilium w/o any problems.
How to reproduce it (as minimally and precisely as possible):
yurtadm join
from edge device. (kubelet should not be installed, so thatyurtadm
creates the/opt/cni/bin
with0600
permission)cilium install
.READY
since cilium-agent will fail to initialize.Anything else we need to know?:
In general directory permission
0600
does not make sense to me, since the owner cannot change the directory in it.In addition, OpenYurt should not put the different access permission in default, since this could lead the unexpected problems like this. saying,
/opt/cni/bin
is not dedicated directory for OpenYurt but anyone could read and execute.Environment:
kubectl version
): 1.22.13cat /etc/os-release
): Ubuntu 20.04uname -a
): 5.4.0-126-genericothers
/kind bug
The text was updated successfully, but these errors were encountered: