I have 1 manager node (swarm-manager) and two worker nodes (swarm-worker01 and swarm-worker02). I typed the command docker node promote swarm-worker01
it gave me this output:
Node swarm-worker01 promoted to a manager in the swarm.
But docker node ls
doesn't say anything about swarm-worker01 being a manager:
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
oaquxnmku3s4uhrcp29ijx7rn * swarm-manager Ready Active Leader 19.03.4
xfwywb5wu550lme0epcexrgu1 swarm-worker01 Ready Active 19.03.4
afyhz03k7uoejnm5dlht98ip5 swarm-worker02 Ready Active 19.03.4
I if try to promote the node again I get the message:
Node xfwywb5wu550lme0epcexrgu1 is already a manager.
My API version is 1.40
Is there anything I'm missing?