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

Replace supervisord with further systemd intergration #2650

Open
phillxnet opened this issue Aug 14, 2023 · 0 comments
Open

Replace supervisord with further systemd intergration #2650

phillxnet opened this issue Aug 14, 2023 · 0 comments

Comments

@phillxnet
Copy link
Member

At one time, before systemd, we did all our service orchestration via supervirord: we have progressively moved to using systemd services for our various 'parts' but have yet to migrate the following:

  • gunicorn (/opt/rockstor/.venv/bin/gunicorn) - runs our main wsgi:application.
  • replication daemon (/opt/rockstor/.venv/bin/replicad)
  • data-collector (/opt/rockstor/.venv/bin/data-collector) - live-info
  • Huey (/opt/rockstor/.venv/bin/django-admin run_huey ...) longer running tasks manager.

It is proposed that these be incorporated into rockstor.service via multiple ExecStart entries. Or possibly host only gunicorn in rockstor.service and create dedicated services for each of the other services. This would normalise all our service management on a single orchestration mechanism and one native to the base OK. It would also remove a central Python dependency.

There may however be concurrency/threading issues that are otherwise handled better by supervisord given it is itself, a python app.

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