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

[docker-compose] Problems with Celery beat when the machine is rebooted suddenly #24391

Closed
3 tasks done
alvarolmedo opened this issue Jun 13, 2023 · 0 comments · Fixed by #24392
Closed
3 tasks done

[docker-compose] Problems with Celery beat when the machine is rebooted suddenly #24391

alvarolmedo opened this issue Jun 13, 2023 · 0 comments · Fixed by #24392

Comments

@alvarolmedo
Copy link
Contributor

A clear and concise description of what the bug is.

How to reproduce the bug

  1. Run apache superset using docker compose:
docker compose -f docker-compose-non-dev.yml up
  1. With containers running, reboot the machine.

Expected results

All the containers start and running correctly again.

Actual results

The superset_worker_beat container enter in restarting state. The logs shows:

Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py]
celery beat v5.2.2 (dawn-chorus) is starting.
ERROR: Pidfile (/tmp/celerybeat.pid) already exists.
Seems we're already running? (pid: 10)

Environment

  • superset version: 2.1.0

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.
alvarolmedo pushed a commit to alvarolmedo/superset that referenced this issue Jun 13, 2023
rusackas pushed a commit that referenced this issue Jun 14, 2023
… the machine is rebooted suddenly) (#24392)

Co-authored-by: Alvaro Olmedo <alvaro.olmedo@datadope.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant