-
Notifications
You must be signed in to change notification settings - Fork 55
Rancher - error scaling up servers #116
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
Comments
Hi, this error is caused by the verification https://github.com/JonasProgrammer/docker-machine-driver-hetzner/blob/54b321f1016b4e07a291c3e01525061d5a47655a/driver/flag_processing.go#L26, which runs on machine creation after all flags (or environment variables or whatever the RPC interfaces passes down) are processed. Rancher probably uses the existing machine configuration alongside the selected image to generate the flag set and this somehow causes both of them being passed. I did just check for places where The whole Do you know whether |
Thanks for looking into this. |
I can't scale-up my server groups anymore, even after "downgrading" to the previous driver version , 3.11.0. I tried several versions, all with the same error. |
Thinking about it a little more, it could be due to how the default image was implemented in older driver versions and recent updates to the default image name. Can you try whether the current pre-release works for you? If that does not help either, could you somehow export whatever configuration Rancher is storing (obviously stripping anything token-esque) and a full call log? I'm not familiar with Rancher though, so I cannot really assist here. |
While trying to fix my cluster and my rancher, I ruined the rancher 🥇 So I started the all-new rancher and driver v5.0.1 works fine incl. installing, upscaling, downscaling and deleting(auto-installing a new) nodes. I don't have any errors now, so I won't be able to verify the 5.0.2+beta version to 100% in regard to this issue :-( Would you mind to give the 5.0.2+beta some conventional name (maybe without the "+"), rancher can not import the driver using that address above. Then I could at least test the standard functionality. |
Sorry to hear that, I was unable to act faster as I had some other errands to take care of :/ The proposed 5.0.2 just makes the flag detection logic more lenient. As a little background: old driver versions implemented the default image by default-initializing it, even when no If your problem is solved, I would refrain from releasing 5.0.2 for now and delete the pre-release; it was just supposed for testing. I will put the lenient changes in a later release eventually. |
Not critical at all. Thanks for your support! |
Hi Jonas
I've been using the hetzner driver for a many months, going through a numerous version.
I'm using the driver in Rancher, a few days ago I updated the driver from v3.11.x to 5.0.1 .
Scaling down doesn't remove virtual machine itself (will address it in a separate issue)
Trying to scale something up I'm getting: error
[cmdCreateInner] error setting machine configuration from flags provided: --hetzner-image and --hetzner-image-id are mutually exclusive:Timeout waiting for ssh key
Rancher v2.7.9 (upgraded several times)
Node driver is configured as folowing:
Download URL: https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/5.0.1/docker-machine-driver-hetzner_5.0.1_linux_amd64.tar.gz
UI: https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js
whitelist domains: storage.googleapis.com
The text was updated successfully, but these errors were encountered: