-
Notifications
You must be signed in to change notification settings - Fork 10
Description
In slow runners, concierge fails to provision the machine within 270s.
Currently, the command string is hardcoded to "status", "--wait-ready", "--timeout", "270s" which should accept a configurable option for --timeout. This exists in the source code here:
concierge/internal/providers/microk8s.go
Line 152 in 723a397
cmd := system.NewCommand("microk8s", []string{"status", "--wait-ready", "--timeout", "270"}) concierge/internal/providers/lxd.go
Line 137 in 723a397
system.NewCommand("lxd", []string{"waitready", "--timeout", "270"}), concierge/internal/providers/k8s.go
Line 179 in 723a397
cmd := system.NewCommand("k8s", []string{"status", "--wait-ready", "--timeout", "270s"})
And in tests here:
concierge/internal/providers/lxd_test.go
Line 54 in 723a397
"lxd waitready --timeout 270", "microk8s status --wait-ready --timeout 270", concierge/internal/providers/k8s_test.go
Line 124 in 723a397
"snap install kubectl --channel stable",