Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting a worker node then re-adding fails via #73

Open
pjmcquade opened this issue Apr 12, 2021 · 0 comments
Open

Deleting a worker node then re-adding fails via #73

pjmcquade opened this issue Apr 12, 2021 · 0 comments

Comments

@pjmcquade
Copy link

Hello,

Using the launchpad v1.2.0 binary:

Scenario. Removing a node via the:

cluster:
    prune: True

section in the launchpad.yml file. The debuging output shows me the command run on the manager node running launchpad:

docker node rm --force 6sux44bz58xf2zq4tf4c95b3u

This is OK, but I think there needs to be a command to run on the remote target:

$ docker swarm leave --force

because if I try to re-add the node by running launchpad with the node in play back in the file again, it fails, because it still reports it's node as the stale 6sux44bz58xf2zq4tf4c95b3u node id. i.e. on the node to be added back before launchpad is run:

$ docker info --format "{{.Swarm.NodeID}}"
6sux44bz58xf2zq4tf4c95b3u

This was repeatable 100% of the time I tried it.

Cheers,
-Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant