-
Notifications
You must be signed in to change notification settings - Fork 74
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
Support for running Galaxy from systemd using Gravity (galaxyctl) #153
Conversation
Draft until I update the README. |
|
This unfortunately creates a circular dependency - you don't know what the version is until after the clone task, but the clone task notifies the restart handler, the name of which would be templated conditionally based on the version. I haven't been able to come up with a solution. |
Is it possible to set a flag upfront (for now) to distinguish the two? |
Yes, you can currently set it manually, but it will have to be mule (uwsgi) for backwards compatibility unfortunately. Which will completely break under 22.05. |
Ok I think I got the automatic |
There's a merge conflict now |
|
I think the restart shortly after starting is the issue here, but I've been unable to come up with a way to avoid it so far. |
Can you dump the beat logs ? |
@guerler and I had a look at this, the celery-beat seemingly fails because of permission issues:
I think the schedule file is going to be created in |
Looks like the test timed out while Galaxy was still auto-installing Conda. Should we just disable that for the test ? |
@natefoo is it possible to increase the timeout here? |
it's the Conda auto install, we should just turn that off |
Yeah, we do not need Galaxy to autoinstall conda. Most of the time it's not desirable in a production deployment where we will preinstall it e.g. with |
Also, support systemd user scope (
systemctl --user ...
).Also fixed #137.