Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

wks controller crashing (after build during drain.go) #309

Open
taemon1337 opened this issue Oct 6, 2020 · 2 comments
Open

wks controller crashing (after build during drain.go) #309

taemon1337 opened this issue Oct 6, 2020 · 2 comments

Comments

@taemon1337
Copy link

taemon1337 commented Oct 6, 2020

ime="2020-10-06T11:22:44Z" level=warning msg="ignoring DaemonSet-managed Pods: kube-system/kube-proxy-vlnc6, kube-system/weave-net-sbjrm"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x4dfd77]
 
goroutine 1457 [running]:
fmt.Fprintf(0x0, 0x0, 0x18b0382, 0x13, 0xc000852b20, 0x2, 0x2, 0xb7366a6d27fec294, 0x7222acfad3825444, 0xd80043947d4aa0f)
	/usr/local/go/src/fmt/print.go:205 +0x77
k8s.io/kubectl/pkg/drain.(*Helper).evictPods.func1(0xc0000869a0, 0x1bac940, 0xc000e0a000, 0xc000e02368, 0xc000c17e00, 0xe, 0xc000936180, 0x0, 0x0, 0x0, ...)
	/go/pkg/mod/k8s.io/[email protected]/pkg/drain/drain.go:262 +0x926
created by k8s.io/kubectl/pkg/drain.(*Helper).evictPods
	/go/pkg/mod/k8s.io/[email protected]/pkg/drain/drain.go:256 +0x22f

wksctl version: 0.9.0-alpha.4
kubernetes version: v1.17.4
3 masters and 3 workers did build successfully with all nodes ready and 1 master cordoned

@taemon1337
Copy link
Author

Maybe related to #251

@taemon1337
Copy link
Author

UPDATE: after I restarted the cluster nodes the wks controller stopped crashing and the cluster looks good, looks like a bug that may not really do any damage in this case but i'll leave someone else to determine its validity.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant