-
Notifications
You must be signed in to change notification settings - Fork 54
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
Lots of machines in cloud but only a few in docker-machine #115
Comments
After upgrading to 5.0.1 and creating all of the missing servers:
Maybe this also affects which machines/states are known on both sides? |
After the API being accessible again I can confirm that docker-machine and Hetzner cloud are now out of sync. Docker reports 19 servers while Hetzner currently has 42 servers. |
Hi, sorry I came back only now, I was dealing with some medical issues. It is indeed possible for Hetzner and the driver to get out-of-sync. Unfortunately the setup process is wonky and inherently racy. There are some options to configure retry behavior, intended specifically for dealing with rate-limiting issues, but there is still no guaranteed. The best thing I can recommend is to check the servers manually after an abnormal creation failure, perhaps tagging them beforehand so they are easier to identify. |
We are currently running on 4.1.0 (I will upgrade later today) and we have the problem (since multiple versions) that docker-machine creates servers but some how fails to remember those.
I recently manually deleted about 30 servers in Hetzner cloud that weren't known to
docker-machine ls
(anymore?) but definitely created this way.We are using
docker-machine
to spin up cloud runners for GitLab CI, so every runner has a fixed prefix and is easily recognizable.Is there a way to sync docker-machine with hetzner cloud, so that these servers get picked up again? Or that docker-machine recognizes those unmanaged machines and removes them? This is filling our resource limits and bills as well :)
Can I provide logs (which?) to debug this? This usually stacks up over multiple weeks and does not happen on a daily basis.
The text was updated successfully, but these errors were encountered: