contiv / netplugin

Container networking for various use cases
Apache License 2.0
512 stars 177 forks source link

Netplugin whether to support multi etcd? #1163

Closed xiaodan1 closed 5 years ago

xiaodan1 commented 5 years ago

contiv version: 1.2.0 etcd version: 3.2.9

on netplugin node: image

I stop etcd at 10.110.13.220, but etcd of 10.110.13.210 and 10.110.13.219 is working. The log of netplguin is : image

liucimin commented 5 years ago

https://github.com/contiv/netplugin/pull/1147

xiaodan1 commented 5 years ago

I already read #1147, but my problem still exist. I also comparison the code of "netplugin-release-1.2" and #1147 "Files changed".

In "/usr/bin/netplugin --mode kubernetes --netmode vlan --vlan-uplinks eth1 --fwdmode bridge --etcd-endpoints http://10.110.13.220:2379,http://10.110.13.210:2379,http://10.110.13.219:2379" , "--etcd-endpoints http://10.110.13.220:2379,http://10.110.13.210:2379,http://10.110.13.219:2379" Is it correct of the writing method ? Or "--etcd-endpoints http://10.110.13.220:2379,--etcd-endpoints http://10.110.13.210:2379,--etcd-endpoints http://10.110.13.219:2379" , Which is right?

liucimin commented 5 years ago

First #1147 is not merge.You should merge it by your self.

Second, the args should like this --etcd-endpoints http://10.110.13.220:2379,http://10.110.13.210:2379,http://10.110.13.219:2379

Third, the etcd's ports 2379 maybe https? Unfortunly the contiv just support http. So your etcd should use 2380 or other ports?See your etcd config.

xiaodan1 commented 5 years ago

Thanks.