When logs is set to debug, user can see many log entries like this:
Jul 13 15:50:42 ucpleader dockerd: time="2018-07-13T15:50:42.940480757Z" level=debug msg="no suitable node available for task" module=node node.id=xjmdhj9quobn9zufkezwlbfng task.id=3h6xnbt75p66i54l5619yp1f7
trying to inspect the task:
[centos@ucpleader ~]$ docker inspect 3h6xnbt75p66i54l5619yp1f7
[]
Error: No such object: 3h6xnbt75p66i54l5619yp1f
Steps To Reproduce:
steps to repro:
- set daemon.log to debug
- create a service with a node constraint that does not exist:
ex: docker service create -d --constraint 'node.labels.type == queue' alpine sleep 10000
- watch the logs, you should see an error
no suitable node available for task
- delete the service and invoke the tick() by creating another service; watch the log and notice the same warning taskID in pops up after service is deleted
When logs is set to debug, user can see many log entries like this:
Jul 13 15:50:42 ucpleader dockerd: time="2018-07-13T15:50:42.940480757Z" level=debug msg="no suitable node available for task" module=node node.id=xjmdhj9quobn9zufkezwlbfng task.id=3h6xnbt75p66i54l5619yp1f7trying to inspect the task:
Steps To Reproduce:
steps to repro:
ex:
docker service create -d --constraint 'node.labels.type == queue' alpine sleep 10000no suitable node available for task