Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about "timed out waiting for evictions to complete: timed out" #57

Open
vukor opened this issue Nov 8, 2019 · 5 comments
Open

Comments

@vukor
Copy link

vukor commented Nov 8, 2019

Periodically got in logs:

INFO kubernetes/eventhandler.go:155 Failed to drain {"node": "ip-x-x-x-x.ec2.internal", "error": "timed out waiting for evictions to complete: timed out", "errorVerbose": "timed out\ntimed out waiting for evictions to complete\ngithub.com/planetlabs/draino/internal/kubernetes.(*APICordonDrainer).Drain\n\t/go/src/github.com/planetlabs/draino/internal/kubernetes/drainer.go:189\ngithub.com/planetlabs/draino/internal/kubernetes.(*DrainingResourceEventHandler).cordonAndDrain.func1\n\t/go/src/github.com/planetlabs/draino/internal/kubernetes/eventhandler.go:154\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357"}

Looks like after timeout failed draino ignore the node, but I'm not sure. As I understand draino is stateless app, so will draino try again to drain this node?

@ch-andremercer
Copy link

^ +1

@tarunptala
Copy link

any solution you got maybe from configuration side? @vukor

@yogeek
Copy link

yogeek commented Apr 15, 2021

Same error here...did you get any solution @vukor please ?

@vukor
Copy link
Author

vukor commented Apr 16, 2021

Same error here...did you get any solution @vukor please ?

nope, periodically see error messages in planetlabs/draino:b788331

@willshu
Copy link

willshu commented Jun 14, 2021

adding these extraArgs seems to have helped:

extraArgs:
  - evict-daemonset-pods
  - evict-emptydir-pods
  - evict-unreplicated-pods

I had to make some adjustment to the deployment template to get these parsed correctly by helm

          {{- range $key, $value := .Values.extraArgs }}
            - {{ if $value }}--{{ $value }}{{ end }}
          {{- end }}

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

No branches or pull requests

5 participants