-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
Milestone
Description
What version of Traefik are you using (traefik version)?
v1.2.0-rc1
What is your environment & configuration (arguments, toml...)?
Docker Swarm Mode with Docker 1.13.0
What did you do?
I started traefik (dockerized verison) without changes. I used to use v1.1.2 and switched to v1.2.0-rc1. 1.1.2 works fine and discovers the services based on docker swarm labels. v1.2.0-rc1 does not do this when all services are deployed. the docker provider tab and its services are sometimes loaded correctly and sometimes not.
What did you expect to see?
the docker provider tab and a deployment of the docker swarm services
What did you see instead?
Looking at the Traefik log file, I can see:
time="2017-02-08T16:13:50Z" level=info msg="Starting provider *provider.Docker {\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"docker.localhost\",\"TLS\":null\"ExposedByDefault\":false,\"UseBindPortIP\":false,\"SwarmMode\":true}"However, some lines below this I see:
time="2017-02-08T16:17:20Z" level=error msg="Near line 29 (last key parsed 'backends.backend-box.servers'): Key 'backends.backend-box.servers.server-box-1' has already been defined."
time="2017-02-08T16:17:35Z" level=error msg="Near line 127 (last key parsed 'backends.backend-rtdapp.servers'): Key 'backends.backend-rtdapp.servers.server-rtdapp-1' has already been defined."This does not appear when restarting Traefik v1.1.2
Reactions are currently unavailable