Skip to content

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

@wangxf1987

Description

@wangxf1987

【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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions