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

vlan-uplinks must be set when using VLAN mode #342

Open
wangxf1987 opened this issue Feb 28, 2018 · 0 comments
Open

vlan-uplinks must be set when using VLAN mode #342

wangxf1987 opened this issue Feb 28, 2018 · 0 comments

Comments

@wangxf1987
Copy link

【steps】

  1. ./install/k8s/install.sh -n 10.27.244.161 -v enp130s0f0s
  2. [root@k8s-slave ~]# docker logs ccd2a6e69491
    + echo 'INFO: Starting contiv net with ARGS:'
    + echo
    + echo 'INFO: Starting contiv net with ENV:'
    INFO: Starting contiv net with ARGS:

INFO: Starting contiv net with ENV:
+ /usr/bin/env
+ grep CONTIV_
CONTIV_CNI_CONFIG={
CONTIV_NETPLUGIN_VTEP_IP=10.27.244.163
CONTIV_K8S_CONFIG={
CONTIV_NETPLUGIN_NET_MODE=vlan
CONTIV_ROLE=netplugin
CONTIV_NETPLUGIN_ETCD_ENDPOINTS=http://10.27.244.163:2381
CONTIV_NETPLUGIN_MODE=kubernetes
CONTIV_NETPLUGIN_FORWARD_MODE=bridge
+ '[' -z netplugin ']'
+ '[' netplugin '!=' netmaster ']'
+ '[' netplugin '!=' netplugin ']'
+ echo 'INFO: Running contiv as netplugin'
INFO: Running contiv as netplugin
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ '[' '!' -z kubernetes ']'
+ CONTIV_MODE=kubernetes
+ echo 'INFO: Running contiv in mode kubernetes'
+ set -ueo pipefail
INFO: Running contiv in mode kubernetes
INFO: Starting contiv netplugin
+ '[' netplugin = netmaster ']'
+ '[' netplugin = netplugin ']'
+ echo 'INFO: Starting contiv netplugin'
+ /contiv/bin/netplugin
time="2018-03-01T07:48:55Z" level=info msg="Using netplugin log level: info"
time="2018-03-01T07:48:55Z" level=info msg="Using netplugin syslog config: nil"
time="Mar 1 07:48:55.274770098" level=info msg="Using netplugin log format: text"
time="Mar 1 07:48:55.274779325" level=info msg="Using netplugin mode: kubernetes"
time="Mar 1 07:48:55.274787462" level=info msg="Using netplugin network mode: vlan"
time="Mar 1 07:48:55.274795213" level=info msg="Using netplugin forwarding mode: bridge"
time="Mar 1 07:48:55.274806295" level=info msg="Using netplugin state db endpoints: etcd: http://10.27.244.163:2381"`
time="Mar 1 07:48:55.274830571" level=info msg="Using netplugin host: k8s-slave"
time="Mar 1 07:48:55.275761411" level=info msg="Using netplugin control IP: 10.27.244.163"
time="Mar 1 07:48:55.275776511" level=info msg="Using netplugin VTEP IP: 10.27.244.163"
time="Mar 1 07:48:55.275786487" level=error msg="vlan-uplinks must be set when using VLAN mode" vlan-uplinks must be set when using VLAN mode`

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

1 participant