-
Notifications
You must be signed in to change notification settings - Fork 882
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
gateway ip options are None in swarm mode #1702
Comments
cc @aboch |
@LipingMao That should have been fixed by moby/swarmkit/pull/1805. |
Thanks for your quick response, I see the pull-request you posted is to fix the problem in RequestPool, my problem is related with RequestAddress. When I not use Swarm mode, when it RequestAddress for gateway ip, it will has options: {"RequestAddressType": "com.docker.network.gateway"}. But in Swarm mode, the Options are empty. I'm not familar with swarmkid, but when I try to search "RequestAddress" in swarmkid, I see it did not pass options to RequestAddress, Did I miss anything? Thanks. manager/allocator/networkallocator/networkallocator.go |
Oh I see. I will take a look. |
@aboch thanks for the quick fix. |
At the moment we have not planned to backport it. |
Is this related to docker/docs#1636 ? |
Hi Team,
When I use lagency libnetwork remote plugin, for example, I created a network with gateway ip as follow:
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 limao_swarm_kuryr
When libnetwork call kuryr ipam driver "/IpamDriver.RequestAddress" request address for gateway ip, it will have Options {"RequestAddressType": "com.docker.network.gateway"}.
But when I use docker swarm mode in 1.13.1, it do not has this Options.
Is this by design or a bug?
Thanks for your help.
The text was updated successfully, but these errors were encountered: