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

Redash helm chart fails to start redash & scheduler #7038

Open
florian-besser opened this issue Jun 28, 2024 · 0 comments
Open

Redash helm chart fails to start redash & scheduler #7038

florian-besser opened this issue Jun 28, 2024 · 0 comments

Comments

@florian-besser
Copy link

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: main branch directly
  • Architecture: ARMv8
  • How did you install Redash: Due to seemingly missing support for ARMv8 (see aarch64 support #5765 (comment)) I did a git clone https://github.com/getredash/redash followed by a docker build on 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.
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

1 participant