local-path-provisioner
local-path-provisioner copied to clipboard
Deadlock when interacting with an unstable k8s api
2021-09-19T14:17:54.219233413Z I0919 14:17:54.197165 1 leaderelection.go:288] failed to renew lease local-path/cluster.local-local-path-local-path-provisioner: failed to tryAcquireOrRenew context deadline exceeded
2021-09-19T14:17:54.219238413Z F0919 14:17:54.197210 1 controller.go:851] leaderelection lost
2021-09-19T14:19:53.710186005Z E0919 14:18:03.351128 1 leaderelection.go:367] Failed to update lock: etcdserver: request timed out
these are the last logs after which the provisioner cannot restore normal eventloop processing, besides this, the regular shutdown of the pod is also not possible, I had to forcibly delete the pod.
It should check such a scenario, maybe there is a bug.