Closed BaliStarDUT closed 6 years ago
I want to know When the manager get task info when you run docker service ps name ? Why It get task CURRENT STATE , bug didn't get PORTS info.
And I find the docker log ,this is what happend that time ,after this I can't get ports from manager:
time="2018-05-05T22:02:14.440374317+08:00" level=error msg="agent: session failed" error="rpc error: code = DeadlineExceede
d desc = context deadline exceeded" module=node/agent node.id=qk56punmxz06d62hnjtsqdftl
time="2018-05-05T22:02:14.440829191+08:00" level=error msg="closing session after fatal error" error="rpc error: code = Int
ernal desc = transport is closing" module=node/agent node.id=qk56punmxz06d62hnjtsqdftl
time="2018-05-05T22:02:14.440879381+08:00" level=error msg="status reporter failed to report status to agent" error="rpc er
ror: code = Internal desc = transport is closing" module=node/agent node.id=qk56punmxz06d62hnjtsqdftl
@BaliStarDUT can you please open this issue on github.com/docker/swarmkit?
Thanks.
My swarm cluster has 1 manager and 2 worker. Running 100+ services on the cluster , and expose different ports outside. it works well last 2 weeks.
When run docker service ps name It should be:
but today, I find docker service ps name has no ports like this:
about 10+ services can't be access py ip:port. but when I run docker ps | grep name on worker node test03 ,I get :
This is to say the task container work well on worker node, but manager can't get it state.
when I run docker logs name ,I get:
This is to say sometime a worker node is not available,but on that node I can't find some wrong. Why this manager can't get the port on the worker node? When I restart the service it works well. but I can't restart all these services manualy,help me please.
my docker version:
my docker info: