1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/cluster/executor/container
Yong Tang 4d958e99c1 Fix missing IPAM options in swarm network mode
This fix tries to fix the issue raised in 29044 where
the IPAM options is missing in swarm network mode
after the service is deployed. Before the service
is deployed, the IPAM options is available.

The reason for the issue is that, before service is
deployed, `network inspect` is querying the swarm and
obtained the correct information.
However, after service is deployed, swarm executor
does not pass the IPAM options to the backend (daemon).
Also after service is deployed, `network inspect` is
actually querying the local daemon for information.
At this time the network information with missing IPAM
options is returned.

This fix fixes the issue by updating the swarm network
allocator and swarm executor.

A separate PR for swarmkit will be opened.

An integration test has been added to cover the change.

This fix fixes 29044.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-12-10 09:29:50 -08:00
..
adapter.go Remove hostname validation as it seems to break users 2016-11-30 19:22:07 +01:00
attachment.go update to support latest swarm changes 2016-11-09 14:27:43 -05:00
container.go Fix missing IPAM options in swarm network mode 2016-12-10 09:29:50 -08:00
controller.go Add support for host port PublishMode in services 2016-11-10 18:07:55 -08:00
errors.go add health check in docker cluster 2016-07-06 13:43:20 -07:00
executor.go Initialize field with name 2016-11-29 19:36:56 +08:00
health_test.go secrets: secret management for swarm 2016-11-09 14:27:43 -05:00
validate.go Fix bunch of typos 2016-10-29 15:03:26 +08:00
validate_test.go secrets: secret management for swarm 2016-11-09 14:27:43 -05:00
validate_unix_test.go Validate mount paths on task create 2016-08-01 23:35:46 -04:00
validate_windows_test.go Validate mount paths on task create 2016-08-01 23:35:46 -04:00