Open arnodirlam opened 1 year ago
Hi @arnodirlam I've updated demo in #9 PR. SSH keys will be generated by a module and also updated achubatiuk/hcloud-autoscaler:main docker image
Thanks a lot for the swift and helpful response and PR!
I've checked out the demo-update
branch, removed the nomad
SSH Key from Hetzner Cloud, and ran Terraform again from scratch. Unfortunately, I'm still getting the same errors in the autoscaler
job logs.
Just a guess: It's saying "unable to authenticate" for two things that it needs to query from hcloud, and that's before even provisioning a server, so maybe it's related to the HCloud token?
I don't know if there's anything cached that I need to refresh. But I couldn't find anything. The docker image is forced to be pulled every time, too. 😕
Hi! I'm facing the same error about decoding "hcloud_location"and 'hcloud_ssh_keys'. Do you know why it happens?
Sorry for late reply, there was an issue in a plugin, I'll release it soon
Updated image in demo and prepared a new plugin release
Hi there,
I've been running into some problems running the demo setup.
Steps to reproduce
demo/setup
ssh-keygen -t ed25519
) without passphrase and move it to~/.ssh/nomad
nomad
TF_VAR_hcloud_token
andTF_VAR_ssh_key=~/.ssh/nomad
terraform init
terraform apply
, confirm withyes
for running, andyes
for storing the SSH key fingerprint to connectOutcome
autoscaler
andprometheus
jobs are healthyredis
job is not being placedautoscaler
logs, I see the following error:Other info
secrets/hcloud/token
valueAny hints on what else I could try to fix this?
Thanks a lot for your great work with maintaining the plugin and setting up the demo! 🙏