simple-framework / simple_grid_puppet_module

Central Configuration Module, implemented in Puppet, for SIMPLE-Grid (a solution for setting up Lightweight Sites for the Worldwide LHC Computing Grid)
Apache License 2.0
2 stars 6 forks source link

overlay network endpoint need to be given a fixed address #119

Closed maany closed 4 years ago

maany commented 4 years ago

Docker automatically creates a network endpoint otherwise, which can clash with the ip address of a container, resulting in it not attaching to the overlay network https://docs.docker.com/network/overlay/

maany commented 4 years ago
Separate control and data traffic
By default, control traffic relating to swarm management and traffic to and from your applications runs over the same network, though the swarm control traffic is encrypted. You can configure Docker to use separate network interfaces for handling the two different types of traffic. When you initialize or join the swarm, specify --advertise-addr and --datapath-addr separately. You must do this for each node joining the swarm.
maany commented 4 years ago

128 Fixed in #134

maany commented 4 years ago

Resolution of #128 so far.

This issue is related to overlay network endpoint that docker creates on the nodes when it starts a container. This endpoint needs to be skipped in the DNS.yaml file otherwise containers will fail to attach to the overlay network

maany commented 4 years ago

Modified the docker network create command to include two subnets