# Node reboot with flannel

**URL:** <https://discuss.kubernetes.io/t/node-reboot-with-flannel/16118>\
**Category:** General Discussions\
**Created:** [June 1, 2021, 8:34am UTC](https://discuss.kubernetes.io/t/node-reboot-with-flannel/16118 "2021-06-01T08:34:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gfyrag](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/gfyrag/32/7764_2.png) [@gfyrag](https://discuss.kubernetes.io/u/gfyrag)\
**Post date:** [June 1, 2021, 8:34am UTC](https://discuss.kubernetes.io/t/node-reboot-with-flannel/16118/1 "2021-06-01T08:34:29Z")

</div>

Hello,  
i have a problem with Flannel.  
I have a cluster with 12 nodes. All is working correctly with flannel as cni plugin.  
The pb is when i reboot the node.  
Due to timeouts no pods are removed, the node reboot is fast and containers are restarted by docker.  
But it containers terminate with errors :

```auto
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container [...] network for pod [...]: networkPlugin cni failed to set up pod [...] network: open /run/flannel/subnet.env: no such file or directory

```

The file is present on the filesystem. But it take some seconds at boot to be present. I think the pb is here.  
If i remove the flannel pod on the node, it is recreated and unlock other containers.

Someone has already have this issue? (not found on search)
