xetys / hetzner-kube

A CLI tool for provisioning kubernetes clusters on Hetzner Cloud
Apache License 2.0
745 stars 116 forks source link

Add worker failed #343

Open sneerin opened 3 years ago

sneerin commented 3 years ago

I'm using the latest build from master and trying to add worker, I constantly fail with this error.


2021/01/27 18:52:05 creating server 'my-dev-cluster-worker-20'...
  --- [======================================] 100%
2021/01/27 18:52:09 Created node 'my-dev-cluster-worker-20' with IP <my ip>
2021/01/27 18:52:09 sleep for 30s...
my-dev-cluster-worker-20: install packages (1)
my-dev-cluster-worker-20: waiting for cloud-init completion (2)
my-dev-cluster-worker-20: installing transport tools (3)
my-dev-cluster-worker-20: prepare packages (4)
my-dev-cluster-worker-20: updating packages (5)
my-dev-cluster-worker-20: installing packages (6)
my-dev-cluster-worker-20: set environment variables (7)
my-dev-cluster-worker-20: packages installed (8)
my-dev-cluster-worker-20: disabling swap (9)
my-dev-cluster-worker-20: packages installed (10)
my-dev-cluster-worker-20: configure wireguard (11)
my-dev-cluster-worker-16: configure wireguard (1)
my-dev-cluster-worker-12: configure wireguard (1)
my-dev-cluster-worker-08: configure wireguard (1)
my-dev-cluster-worker-02: configure wireguard (1)
my-dev-cluster-worker-03: configure wireguard (1)
my-dev-cluster-worker-13: configure wireguard (1)my-dev-cluster-worker-17: configure wireguard (1)
my-dev-cluster-worker-07: configure wireguard (1)
my-dev-cluster-master-01: configure wireguard (1)

my-dev-cluster-worker-14: configure wireguard (1)
my-dev-cluster-worker-05: configure wireguard (1)
my-dev-cluster-worker-09: configure wireguard (1)
my-dev-cluster-worker-04: configure wireguard (1)my-dev-cluster-worker-06: configure wireguard (1)
my-dev-cluster-worker-15: configure wireguard (1)

my-dev-cluster-worker-10: configure wireguard (1)
my-dev-cluster-worker-11: configure wireguard (1)
my-dev-cluster-worker-18: configure wireguard (1)
my-dev-cluster-worker-19: configure wireguard (1)
my-dev-cluster-worker-01: configure wireguard (1)
my-dev-cluster-worker-20: wireguard configured (12)2021/01/27 18:56:46 run failed
command:systemctl enable wg-quick@wg0 && systemctl restart wg-quick@wg0 && systemctl enable overlay-route.service && systemctl restart overlay-route.service
stdout:Failed to enable unit: Unit file wg-quick@wg0.service does not exist.

err:Process exited with status 1```