Issue to use global scope when use docker swarm mode and v2plugin
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 2.2k
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
Hi Team,
When I trying to use kuryr-libentwork(which is a remote driver) in docker swarm mode, it looks good when I run it with "local" scope in NetworkDriver. But when I run it in "global" capability, it can't works and it show the "swarm" scope. Is it supported run in "global" capability when I use docker swarm mode with v2plugin?
Here is some info:
Docker Version:
# docker version
Client:
Version: 1.13.1-cs2
API version: 1.26
Go version: go1.7.5
Git commit: ad32da7
Built: Thu Feb 23 16:40:08 2017
OS/Arch: linux/amd64
Server:
Version: 1.13.1-cs2
API version: 1.26 (minimum version 1.12)
Go version: go1.7.5
Git commit: ad32da7
Built: Thu Feb 23 16:40:08 2017
OS/Arch: linux/amd64
Experimental: false
Here is the log , it runs normal when it is local scope:
# docker network ls
NETWORK ID NAME DRIVER SCOPE
08da057d698b bridge bridge local
526a0b195163 docker_gwbridge bridge local
83f849eb1d60 host host local
ouqu3ermkxba ingress overlay swarm
772b4aa8d77b limao_swarm_kuryr kuryr:latest local
1f88364d0ab8 none null local
Here is the log, it can't works when I use "global" scope, it shows it is "swarm" scope and can't even show the Driver name(The network name is limao_kuryr1):
# docker network create --driver=kuryr --ipam-driver=kuryr --subnet 10.225.17.0/24 --gateway 10.225.17.1 --ip-range 10.225.17.0/24 -o neutron.net.uuid=55aec833-7838-482f-be9e-b205e5c6f2c4 limao_kuryr1
# docker network ls
NETWORK ID NAME DRIVER SCOPE
3aa3c903c45f bridge bridge local
526a0b195163 docker_gwbridge bridge local
83f849eb1d60 host host local
ouqu3ermkxba ingress overlay swarm
qazi7mnpl7br limao_kuryr1 swarm
1f88364d0ab8 none null local
I use global scope, but it shows "swarm" scope here:
# docker network inspect limao_kuryr1
[
{
"Name": "limao_kuryr1",
"Id": "qazi7mnpl7brjxho4kbb62nu7",
"Created": "0001-01-01T00:00:00Z",
"Scope": "swarm",
"Driver": "",
"EnableIPv6": false,
"IPAM": {
"Driver": "kuryr:latest",
"Options": null,
"Config": [
{
"Subnet": "10.225.17.0/24",
"IPRange": "10.225.17.0/24",
"Gateway": "10.225.17.1"
}
]
},
"Internal": false,
"Attachable": false,
"Containers": null,
"Options": null,
"Labels": null
}
]
Thanks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported Docker 1.13.1 swarm-mode commands for creating and inspecting a Kuryr network with global scope. Compare the local-scope and global-scope results, then determine from the network-driver behavior whether global scope is supported and what observable result should be considered done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- distributed-systems, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100