contiv / netplugin

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

Contiv plugin will not install #927

Open Homorgan opened 7 years ago

Homorgan commented 7 years ago

Attempting to load contiv 1.1.0 plugin on to a clean install of Centos (running in Vagrant). Plugin install keeps failing: vagrant@master:/etc$ docker plugin install contiv/v2plugin:1.1.0 plugin_role=master Plugin "contiv/v2plugin:1.1.0" is requesting the following privileges:

Docker is functional on the machine. I can load other plugins with no problems.

vagrant@master:/etc$ docker plugin install vieux/sshfs Plugin "vieux/sshfs" is requesting the following privileges:

I am running on Centos 7

uname -a Linux localhost.localdomain 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

unclejack commented 7 years ago

@Homorgan: Can you provide the output of docker info and docker version, please?

Homorgan commented 7 years ago

[vagrant@localhost ~]$ docker info Containers: 1 Running: 0 Paused: 0 Stopped: 1 Images: 1 Server Version: 17.06.0-ce Storage Driver: overlay Backing Filesystem: xfs Supports d_type: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog Swarm: active NodeID: ifep6e1s2gmvky5bxm5eifhu3 Is Manager: true ClusterID: conhbi4xc24krpctuiuyet5z2 Managers: 1 Nodes: 1 Orchestration: Task History Retention Limit: 5 Raft: Snapshot Interval: 10000 Number of Old Snapshots to Retain: 0 Heartbeat Tick: 1 Election Tick: 3 Dispatcher: Heartbeat Period: 5 seconds CA Configuration: Expiry Duration: 3 months Force Rotate: 0 Root Rotation In Progress: false Node Address: 10.0.2.15 Manager Addresses: 10.0.2.15:2377 Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: cfb82a876ecc11b5ca0977d1733adbe58599088a runc version: 2d41c047c83e09a6d61d464906feb2a2f3c52aa4 init version: 949e6fa Security Options: seccomp Profile: default Kernel Version: 3.10.0-514.26.2.el7.x86_64 Operating System: CentOS Linux 7 (Core) OSType: linux Architecture: x86_64 CPUs: 1 Total Memory: 992.6MiB Name: localhost.localdomain ID: JFFT:HCNW:WKUC:EWRQ:43CY:R4SQ:5XUI:LSTJ:P4HB:NJE2:XLBW:NONK Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): false Registry: https://index.docker.io/v1/ Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false

WARNING: bridge-nf-call-ip6tables is disabled

[vagrant@localhost ~]$ docker version Client: Version: 17.06.0-ce API version: 1.30 Go version: go1.8.3 Git commit: 02c1d87 Built: Fri Jun 23 21:20:36 2017 OS/Arch: linux/amd64

Server: Version: 17.06.0-ce API version: 1.30 (minimum version 1.12) Go version: go1.8.3 Git commit: 02c1d87 Built: Fri Jun 23 21:21:56 2017 OS/Arch: linux/amd64 Experimental: false

rchirakk commented 7 years ago

Can you check arguments passed ? https://github.com/contiv/netplugin/blob/9cfa1a387d9a0b84d3ec59fd70f5639c0c5b378f/install/v2plugin/README.md

Homorgan commented 7 years ago

I am only passing the plugin_role=master argument. I tried to use the plugin_role=worker argument.

[vagrant@localhost ~]$ docker plugin install contiv/v2plugin:1.1.0 plugin_role=worker Plugin "contiv/v2plugin:1.1.0" is requesting the following privileges:

Both failed..

nrsekhar commented 6 years ago

any update on this issue ???

anomaly256 commented 6 years ago

I'm hitting this too with contiv/v2plugin:1.1.7 and contiv/v2plugin:1.1.9 with docker 18.03.1-ce. Lack of response to this issue and other open bugs with the same error doesn't bode well