redash icon indicating copy to clipboard operation
redash copied to clipboard

Supervisorctl Status not working for redash workers

Open shubhwip opened this issue 2 years ago • 1 comments
trafficstars

Issue Summary

Supervisorctl Status command not working so it might be leading to autorestart not working for programs.

Steps to Reproduce

  1. Login into adhoc worker container
  2. Run Supervisorctl status check
redash@redash-adhocworker-65757bbb75-rqczz:/app$ exec supervisorctl -c worker.conf
Error: .ini file does not include supervisorctl section
For help, use /usr/local/bin/supervisorctl -h
command terminated with exit code 2

What did you expect to happen instead?

redash@redash-adhocworker-c89d9667b-9lqbd:/app$ exec supervisorctl -c worker.conf status
worker:worker-0                  FATAL     Exited too quickly (process log may have details)
worker:worker-1                  FATAL     Exited too quickly (process log may have details)
worker_healthcheck               RUNNING   pid 14, uptime 7:43:34

Technical details:

  • Redash Version: Latest
  • Browser/OS: Linux
  • How did you install Redash: Helm Charts

shubhwip avatar Feb 03 '23 09:02 shubhwip

Adding

[supervisorctl]
serverurl=unix:///tmp/supervisor.sock

to the end of worker.conf will produce what we want when executing

supervisorctl -c worker.conf status

zachliu avatar Jun 24 '24 22:06 zachliu