JonasProgrammer / docker-machine-driver-hetzner

Docker machine driver for the new hetzner cloud API
https://jonasprogrammer.github.io/docker-machine-driver-hetzner/
MIT License
434 stars 54 forks source link

unknown location / unable to find ssh-keys #110

Closed avpnusr closed 1 year ago

avpnusr commented 1 year ago

First of all, thank you for the effort and maintaining the repository!

Since yesterdays update, the runner crashes for me with the error:

ERROR: Error with pre-create check: "could not get location: unknown location: "  driver=hetzner name=runner-XXXX operation=create
ERROR: Machine creation failed                      error=exit status 3 name=runner-XXXXX time=2.380764172s

At first I thought that server-location is now mandatory, but if I set the location, the error changes to "could not find ssh-key with fingerprint: xx:xx:xx ..."

Changing back to the previous release 4.1.0 solves the error and everythin runs fine again.

JonasProgrammer commented 1 year ago

Hi,

sorry for the inconvenience. Perhaps I was a bit over-enthusiastic with my nil checks... will have a look asap.

avpnusr commented 1 year ago

Thanks a lot for the super quick fix!