netplugin
netplugin copied to clipboard
failed to create network
# netctl net create --subnet=10.1.3.0/24 contiv-net3
ERRO[0015] Error response from daemon: legacy plugin: plugin not found
i use the same netctl version with 1.0.0-beta3,what`s this mean?
# docker version
Client:
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: c6d412e
Built: Tue Mar 28 00:40:02 2017
OS/Arch: linux/amd64
Server:
Version: 17.03.1-ce
API version: 1.27 (minimum version 1.12)
Go version: go1.7.5
Git commit: c6d412e
Built: Tue Mar 28 00:40:02 2017
OS/Arch: linux/amd64
Experimental: false
# docker plugin ls
ID NAME DESCRIPTION ENABLED
0864a1ae6d96 store/contiv/v2plugin:1.0.0-beta.3 Contiv network plugin for Docker true
and after a few minites it create successfully,but can not see network when docker network ls,I run docker in swarm mode
# netctl net ls
Tenant Network Nw Type Encap type Packet tag Subnet Gateway IPv6Subnet IPv6Gateway
------ ------- ------- ---------- ---------- ------- ------ ---------- -----------
default contiv-net data vxlan 0 20.1.1.0/24
default contiv-net3 data vxlan 0 10.1.3.0/24
default contiv-net4 data vxlan 0 10.1.4.0/24
# docker network ls
NETWORK ID NAME DRIVER SCOPE
f83cd5ad2eb7 bridge bridge local
56c39ebc3f2a docker_gwbridge bridge local
e266afd31464 host host local
cph5757gywi3 ingress overlay swarm
01748d4fbfdb none null local
n2tab5ggaqm4 test1 overlay swarm
I've got the same problem.. Have you found any solution yet?
Regards, Philip
Hi there,
Is there still no update on this?
[root@node1 /]# netctl network ls
Tenant Network Nw Type Encap type Packet tag Subnet Gateway IPv6Subnet IPv6Gateway
------ ------- ------- ---------- ---------- ------- ------ ---------- -----------
default public-default data vlan 251 192.168.0.0/22 192.168.0.1
default internal-testing-1 data vxlan 1 10.10.1.0/24 10.10.1.1
[root@node1 /]# docker network ls
NETWORK ID NAME DRIVER SCOPE
01c209987f84 bridge bridge local
77e86ee0599c docker_gwbridge bridge local
ec0ae2ae6455 host host local
jgpyyzj5qv6y ingress overlay swarm
070db70a1073 none null local
I'm using Docker Swarm with the contiv/v2plugin:0.1
plugin:
[root@node1 /]# docker version
Client:
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: c6d412e
Built: Mon Mar 27 17:05:44 2017
OS/Arch: linux/amd64
Server:
Version: 17.03.1-ce
API version: 1.27 (minimum version 1.12)
Go version: go1.7.5
Git commit: c6d412e
Built: Mon Mar 27 17:05:44 2017
OS/Arch: linux/amd64
Experimental: false
[root@node1 /]# docker plugin ls
ID NAME DESCRIPTION ENABLED
588cd239cd8a contiv/v2plugin:0.1 Contiv network plugin for Docker true
netctl
is on version 1.0.0
.
Thanks!
Regards, Philip
Short update.
I just found out, that currently only Engine 1.12.x
& Swarm 1.2.5
is supported as shown here http://contiv.github.io/documents/support/supportmatrix.html. Do you guys have any plans when support for 17.03.1-ce
and the newest Docker Swarm version (I guess currently its 1.2.6
) will be added?
Thanks
Regards, Philip
I get the same problem yet, Do you have any solution?
docker Version: 17.07.0-ce-rc3 API version: 1.31 Go version: go1.8.3
netctl Version: 1.1.1 GitCommit: 6657054 BuildTime: 07-20-2017.21-46-06.UTC ` Thanks
Hi @iiwawe,
Unfortunately not really - its still not working. A Contiv developer told me to follow v2plugin/README.md, especially point 5.2 seems to be important because there you match the contiv used labels (-tag policylabel
) with the docker network create XX
used -o contiv-tag=policylabel
. This way Contiv should be able to align the Contiv internal network configuration with the docker network configurations the background.
Regards, Philip
@iiwawe, @PhilipSchmid, for docker swarm-mode, the contiv workflow was changed. Netctl commands used to create a network doesn't create a docker network. Once the networks and groups are configured using netctl command, you should use docker workflow to create docker network and run docker containers. This was a requirement for contiv to be certified as a docker plugin. The contiv-tag used in docker network create maps it to a network or group created by netctl command
@PhilipSchmid @gkvijay Thanks for your reply
before create a docker network, i must create a network by netctl command, is that mean ? when create network by command "netctl network create contiv-net-1 -s 200.1.1.1/24 -g 200.1.1.200", i got error "ERRO[0015] Error response from daemon: legacy plugin: plugin not found", if i run the command again, network contiv-net-1 is create succeed. and when i create group by "netctl group create -p p1 -tag policylabel contiv-net-1 group1" i get the same error. i should do something before this?
Thanks