Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netplugin whether to support multi etcd? #1163

Closed
xiaodan1 opened this issue Feb 13, 2019 · 4 comments
Closed

Netplugin whether to support multi etcd? #1163

xiaodan1 opened this issue Feb 13, 2019 · 4 comments

Comments

@xiaodan1
Copy link

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

@xiaodan1 xiaodan1 changed the title netplugin whether to support multi etcd? Netplugin whether to support multi etcd? Feb 13, 2019
@liucimin
Copy link

#1147

@xiaodan1
Copy link
Author

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
Copy link

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
Copy link
Author

xiaodan1 commented Mar 5, 2019

Thanks.

@xiaodan1 xiaodan1 closed this as completed Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants