Hello all,
I’m migrating redash to k8s and I’m having some issues with the webserver whenever I try to enter the site, here is the error it throws
│ [2019-12-26 15:39:27 +0000] [1] [INFO] Starting gunicorn 19.7.1 │
│ [2019-12-26 15:39:27 +0000] [1] [INFO] Listening at: http://0.0.0.0:5000 (1) │
│ [2019-12-26 15:39:27 +0000] [1] [INFO] Using worker: sync │
│ [2019-12-26 15:39:27 +0000] [11] [INFO] Booting worker with pid: 11 │
│ [2019-12-26 15:39:27,878][PID:11][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt │
│ [2019-12-26 15:39:27,904][PID:11][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt │
│ [2019-12-26 15:40:11,341][PID:11][INFO][metrics] method=GET path=/ endpoint=redash_index status=302 content_type=text/html; charset=utf-8 content_length=313 duration=0.96 quer │
│ y_count=0 query_duration=0.00 │
│ [2019-12-26 15:40:42 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:11) │
│ [2019-12-26 15:40:43 +0000] [19] [INFO] Booting worker with pid: 19 │
│ [2019-12-26 15:40:43,958][PID:19][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt │
│ [2019-12-26 15:40:43,993][PID:19][INFO][root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
Funny thing is when I run it on my local machine it works just fine. I have no clue why it’s not working on the cluster (There are other things running there without issues).
Any pointers would be greatly appreciated
Technical details:
- Redash Version: 6.0.0.b8537
- How did you install Redash: K8s
Deployments and service I made: https://pastebin.com/VUT5cpaX
I’m using one scheduler and 2 workers, one for ad-hoc queries and the other for scheduled queries and schema refresh.
Happy Holidays!