redash
redash copied to clipboard
Redash helm chart fails to start redash & scheduler
Issue Summary
I'm installing redash using https://getredash.github.io/contrib-helm-chart/redash, helm chart version 3.0.1
Steps to Reproduce
Use the following values:
repository: <CENSORED>.dkr.ecr.ap-southeast-1.amazonaws.com/redash
tag: latest
pullPolicy: IfNotPresent
redash:
cookieSecret: <CENSORED>
secretKey: <CENSORED>
postgresql:
enabled: false
redis:
enabled: false
externalPostgreSQL: postgres://<CENSORED>:<CENSORED>/redash?user=redash&password=<CENSORED>&ssl=true&sslmode=require&sslfactory=org.postgresql.ssl.NonValidatingFactory
externalRedis: rediss://redash:<CENSORED>@<CENSORED>:<CENSORED>/0
This yields the following pods:
NAME READY STATUS RESTARTS AGE
redash-576bddc9b4-z8whl 1/2 CrashLoopBackOff 5 (83s ago) 4m30s
redash-adhocworker-6bbb459948-t2b7z 2/2 Running 0 4m30s
redash-genericworker-7d75b74f44-9lbzz 2/2 Running 0 4m30s
redash-scheduledworker-7ddd988f45-7ld8q 2/2 Running 0 4m30s
redash-scheduler-6d5bbbb5d6-gtbbl 1/2 CrashLoopBackOff 5 (99s ago) 4m30s
Logs from scheduler:
Using external postgresql database
Using external redis database
Starting RQ scheduler...
Traceback (most recent call last):
File "/app/manage.py", line 6, in <module>
from redash.cli import manager
ModuleNotFoundError: No module named 'redash'
And redash server:
Using external postgresql database
Using external redis database
[2024-06-28 08:17:20 +0000] [7] [INFO] Starting gunicorn 22.0.0
[2024-06-28 08:17:20 +0000] [7] [INFO] Listening at: http://0.0.0.0:5000 (7)
[2024-06-28 08:17:20 +0000] [7] [INFO] Using worker: sync
[2024-06-28 08:17:20 +0000] [8] [INFO] Booting worker with pid: 8
[2024-06-28 08:17:20 +0000] [8] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.10/site-packages/gunicorn/util.py", line 371, in import_app
mod = importlib.import_module(module)
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'redash'
[2024-06-28 08:17:20 +0000] [8] [INFO] Worker exiting (pid: 8)
[2024-06-28 08:17:20 +0000] [7] [ERROR] Worker (pid:8) exited with code 3
[2024-06-28 08:17:20 +0000] [7] [ERROR] Shutting down: Master
[2024-06-28 08:17:20 +0000] [7] [ERROR] Reason: Worker failed to boot.
Technical details:
- Redash Version:
mainbranch directly - Architecture: ARMv8
- How did you install Redash: Due to seemingly missing support for ARMv8 (see https://github.com/getredash/redash/issues/5765#issuecomment-2196255592) I did a
git clone https://github.com/getredash/redashfollowed by adocker buildon our ARM based machines. This yielded the image used above, there were no errors observed during the build. Once the now ARM-based image is run tough, redash fails to start.