当前位置:   article > 正文

kubelet docker read-only file system error_/bin/calico-node -felix-live -bird-live' from runt

/bin/calico-node -felix-live -bird-live' from runtime service failed: rpc er

错误情况,报calico错误

remote_runtime.go:351] ExecSync  '/bin/calico-node -bird-ready -felix-ready' from runtime service failed: rpc error: code = Unknown desc = unable to upgrade to tcp, received 404
# kubectl describe po calico-node-b4n6j -n kube-system
Last State:     Terminated
      Reason:       ContainerCannotRun
      Message:      error while creating mount source path '/opt/cni/bin': mkdir /opt/cni: read-only file system
      Exit Code:    128
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

read-only file system? 我可是在docker环境下呀…继续排查
发现是docker snap的原因: 即系统中通过snap安装了一个docker

# 查看 snap 安装的应用
# sudo snap list
Name    Version    Rev    Tracking       Publisher   Notes
core    16-2.51.4  11606  latest/stable  canonical✓  core
core18  20210722   2128   latest/stable  canonical✓  base
docker  19.03.13   796    latest/stable  canonical✓  -
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

确实是…那么删除掉重启就大功告成了

# sudo snap remove docker
docker removed
# reboot
  • 1
  • 2
  • 3
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/263975
推荐阅读
相关标签
  

闽ICP备14008679号