Swarm host availability

Hi,

Trying to to learn/test Docker.

I have 7 VMs (Linux distros), Docker installed, configured 7-node swarm. 3 Manager nodes, 4 worker nodes. All looking good.

I have created a service with a test web html page with 5 replicas.
Configured for port listening on 8080:8080 .

Q1:
When I check service I got 5/5 and I can access 5 nodes, when I run “docker service ps %servicename%” I see 5 nodes, some are managers, some are workers.

But when I try to access nodes that are not listed, but are included as swarm nodes, I don’t get that page, the even don’t listen on port 8080. Should not traffic be redirected, even if that swarm node is not in replica?

Is that normal? (It was working on Docker 1.12.0-rc4)

Q2:
After restart of whole swarm and running “docker service ps ServicePS1.2”, I get a lot of “DESIRED STATE - SHUTDOWN”… here’s a snip of output:

Why do I get these “_ ServicePS1.2” and that desired state “shutdown”?


[root@docker1-centos7 ~]# docker service ps ServicePS1

ID
NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR

cmqg5spjw57g4icidso5aqr44
ServicePS1.1 %IMAGENAME% docker6-debian8 Running
Running 15 minutes ago

7xtznpibny0q4fm7wk27gg4ou
_ ServicePS1.1 %IMAGENAME% docker5-fedora Shutdown Shutdown 16 minutes ago

58dgfkmhqpa0iibeztwwyq7bu
_ ServicePS1.1 %IMAGENAME% docker1-centos7 Shutdown
Complete 46 minutes ago

dbjtow0jcg150k84m4n2y3ofd
_ ServicePS1.1 %IMAGENAME% docker3-fedora Shutdown
Shutdown about an hour ago

7fly7y4wpnfo4y69o46vkfx4o
_ ServicePS1.1 %IMAGENAME% docker4-suse Shutdown Shutdown 46 minutes ago

1x14xzmejzyy65vnuwq95ycp4
ServicePS1.2 %IMAGENAME% docker2-ubuntu Running Running 16 minutes ago

34nb1xzj1odbp2xqvson4updk
_ ServicePS1.2 %IMAGENAME% docker3-fedora Shutdown Shutdown 16 minutes ago


Tnx for any help…