dsebywql016137 2016-05-23 06:34
浏览 227

法兰绒错误无法初始化网络无法打开tun设备

I'm using flannel for the first time and I'm testing it with two nodes (Ubuntu14.04) with etcd running. The ip addresses of the two nodes are 192.168.0.124 (node1) and 192.168.0.127 (node2), and they can ping each other without problem. I have configured flannel network in etcd as follows:
On node1: etcdctl set /coreos.com/network/config '{ "Network": "10.1.15.0/16" }'
On node2: etcdctl set /coreos.com/network/config '{ "Network": "10.1.20.0/16" }' However, whenever I run flanneld on either node I get the following error:

E0523 14:11:29.325240 28803 network.go:71] Failed to initialize network (type UDP): Failed to open TUN device: ioctl failed with 'operation not permitted'

Is there any clue on solving this problem?

  • 写回答

1条回答 默认 最新

  • doujieluo5875 2016-05-23 09:17
    关注

    It turned out to be a permission issue. Simply sudo flanneld will work.

    评论

报告相同问题?

悬赏问题

  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办