-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Description
Hello folks!
I don't know if this is a bug per say but I consider we should improve this behaviour.
I run Swarm 17.05CE within only one node.
A week ago, I label my node like this:
docker node update --label-add DeployGRP="$THIS_NODE" "$THIS_NODE"
Today I changed my mind and labelled it like this:
docker node update --label-add deploy_grp="$THIS_NODE" "$THIS_NODE"
I re-deployed my containers using:
--constraint "node.labels.DeployGRP==$THIS_NODE"
and of course it didn't work.
Then I checked was going on via:
docker service ps --no-trunc webapp
The current state message was:
Pending 3 minutes ago
The issue here is that, it didn't help me to debug the problem. I think it would be fair to see a Constraint mismatch when a constraint is preventing the container to be deployed.
Make sense?
Pascal | @askpascalandy