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

Celery Worker Not Restarting in Podman After CELERY_WORKER_SHUTDOWN_INTERVAL #5241

Open
kevin890501 opened this issue Nov 7, 2024 · 0 comments

Comments

@kevin890501
Copy link

What went wrong?

What happened:
-In a Podman environment using podman-compose, the Celery worker is set to shut down every 5 minutes as specified by the environment variable CELERY_WORKER_SHUTDOWN_INTERVAL="5m". However, after the specified interval and a successful shutdown, Celery fails to restart, despite restart: always being set in the podman-compose.yml file. This issue does not occur in Docker, where the Celery container restarts as expected.

What did you expect to happen:
-Celery should automatically restart in Podman after it shuts down due to the CELERY_WORKER_SHUTDOWN_INTERVAL interval. With restart: always set, Podman should initiate a restart immediately after the Celery container stops.

How do we reproduce it?

use podman-compose to run the default docker-compose.yml

Grafana OnCall Version

1.12.1

Product Area

Helm/Kubernetes/Docker

Grafana OnCall Platform?

None

User's Browser?

No response

Anything else to add?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant