Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

backoff does not appear to work #238

Open
zerkms opened this issue Aug 14, 2019 · 5 comments
Open

backoff does not appear to work #238

zerkms opened this issue Aug 14, 2019 · 5 comments

Comments

@zerkms
Copy link
Contributor

zerkms commented Aug 14, 2019

I installed kube-ops-view with wrong permissions initially, and after fixing them here is what I still see in the events response:

{"cluster_id":"10-52-0-1:443","status":{"backoff":{"tries":4,"next_try":1565748624.5507348}}}

At the moment it's 1565749605, so the retry should have happened 15 minutes ago, why it had not.

If I grep logs I see

ERROR:kube_ops_view.update:Failed to query cluster 10-52-0-1:443 (https://10.52.0.1:443): 403 Forbidden (try 1, wait 6 seconds)
ERROR:kube_ops_view.update:Failed to query cluster 10-52-0-1:443 (https://10.52.0.1:443): 403 Forbidden (try 2, wait 9 seconds)
ERROR:kube_ops_view.update:Failed to query cluster 10-52-0-1:443 (https://10.52.0.1:443): 403 Forbidden (try 3, wait 18 seconds)
ERROR:kube_ops_view.update:Failed to query cluster 10-52-0-1:443 (https://10.52.0.1:443): 403 Forbidden (try 4, wait 35 seconds)

the last line also happened slightly earlier than 15 minutes ago.

@zerkms
Copy link
Contributor Author

zerkms commented Aug 14, 2019

UPD: dropping a redis pod helped, so at this point I'm unable to investigate at what state it stuck.

@yosep08
Copy link

yosep08 commented Sep 5, 2019

are you deploy kube in project default?

@zerkms
Copy link
Contributor Author

zerkms commented Sep 5, 2019

Nope, it runs in its own namespace

@yosep08
Copy link

yosep08 commented Sep 5, 2019

kube ops view need resolve to kubernetes for collect data, so you can try can deploy kube ops in namespace default.

@zerkms
Copy link
Contributor Author

zerkms commented Sep 5, 2019

I have no problems running kubeops in general, this report was about a case when the backoff feature did not seem to work.

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

2 participants