Fix empty IP for backend when dnsrr in Docker swarm mode #2869
Labels
area/provider/docker/swarm
kind/bug/confirmed
a confirmed bug (reproducible).
priority/P2
need to be fixed in the future
status/5-frozen-due-to-age
Milestone
Do you want to request a feature or report a bug?
I'd like to report a bug.
What did you do?
I made a fresh ubuntu setup, applied the last updates(
apt-get update && apt dist-upgrade
):Then I installed latest docker:
ubuntu@ubuntu-xenial:~$ docker --version Docker version 17.12.0-ce, build c97c6d6
And configured it to swarm mode:
Started 4 instances of simple service:
sudo docker service create --name nginx \ --endpoint-mode dnsrr \ --label traefik.frontend.rule=Host:test.test.nl \ --label traefik.port=80 \ nginx:alpine \ && sudo docker service scale nginx=4
Downloaded last traefik release binary - 1.5.2.
Made a config file:
Then I run traefik:
What did you expect to see?
I expected to see correct container ip addresses as backend endpoints.
What did you see instead?
Creating server server-nginx-1 at http://:80
Output of
traefik version
: (What version of Traefik are you using?)ubuntu@ubuntu-xenial:~$ ./traefik_linux-amd64 version Version: v1.5.2 Codename: cancoillotte Go version: go1.9.4 Built: 2018-02-12_10:56:31AM OS/Arch: linux/amd64
What is your environment & configuration (arguments, toml, provider, platform, ...)?
If applicable, please paste the log output in debug mode (
--debug
switch)The text was updated successfully, but these errors were encountered: