Closed Adiqq closed 6 years ago
Thanks for the report.
Have you checked kube-apiserver logs to see maybe timing out requests fail there?
Also, noting that there are plenty of 503/504 bug reports (https://github.com/kubernetes/dashboard/issues?q=503 and https://github.com/kubernetes/dashboard/issues?q=504) at the project Github page.
I didn't check kube-apiserver logs this time, but this issue is specific to kubespray with weave (or weave itself). I use combination of kubernetes dashboard, dex, oauth2_proxy and from what I remember, I could see also problem in dex logs, https://github.com/coreos/dex/issues/992 , there were similiar errors. I went back to Calico and it works fine again.
Closing the issue due to inactivity and missing logs.
What you expected to happen?
Kubernetes dashboard work correctly
What happened?
After some time, kubernetes dashboard stops to work, it displays error: Gateway Timeout (504) the server was unable to return a response in the time allotted, but may still be processing the request (get configmaps)
It worked correctly with Calico 2.6.x , but something is wrong on weave net, it might be specific to kubespray, but same problems occured on weave 2.1.x, when I tested it some time ago.
How to reproduce it?
Deploy cluster with Kubespray, selecting weave plugin
Anything else we need to know?
Kubespray, bare metal, 2 masters, 3 etcd, 2 workers, all on separate machines
Versions:
Logs:
$ kubectl logs -n kube-system weave
INFO: 2018/03/15 19:21:44.246540 Discovered remote MAC 9a:a6:6c:19:dd:24 at 2e:35:00:fd:81:38(dmse02lx0681c)
INFO: 2018/03/15 19:26:06.389819 Discovered remote MAC fe:a3:83:ae:92:66 at 2e:35:00:fd:81:38(dmse02lx0681c)
INFO: 2018/03/15 19:26:06.390422 Discovered remote MAC de:73:22:c9:c9:7a at 2e:35:00:fd:81:38(dmse02lx0681c)
INFO: 2018/03/15 19:26:06.391007 Discovered remote MAC 0a:51:08:8f:be:c2 at 2e:35:00:fd:81:38(dmse02lx0681c)
INFO: 2018/03/15 19:26:06.391265 Discovered remote MAC 5e:f6:93:7b:9f:6e at 2e:35:00:fd:81:38(dmse02lx0681c)