Hi,
Running a newly installed galaxy on a centos8 server.
We run on a cluster with a shared filesystem (/storage/), Galaxy is not installed on the shared filesystem (/srv/galaxy). Jobs are submitted to the cluster via slurm.
We wonder if this is the right place to get some help related to this error on all jobs on our local galaxy server:
Traceback (most recent call last):
File "metadata/set.py", line 1, in <module>
from galaxy_ext.metadata.set_metadata import set_metadata; set_metadata()
ModuleNotFoundError: No module named 'galaxy_ext'
I found this Framework Dependencies β Galaxy Project 18.09 documentation which I thought was relevant.
We created a venv in the shared filesystem following this: Framework Dependencies β Galaxy Project 18.09 documentation
But still see the error.
Steps:
virtualenv /storage/galaxy/venv
. /storage/galaxy/venv/bin/activate
cd /srv/galaxy/server
PYTHONPATH= sh /srv/galaxy/server/scripts/common_startup.sh --no-create-venv
In job_conf.xml the an example of the description field is
<destination id="slurm_static" runner="slurm">
<param id="nativeSpecification">--time=05:00 --mem-per-cpu=2</param>
<env file="/storage/galaxy/venv/bin/activate" />
</destination>
And in galaxy.yml in the uwsgi we have
virtualenv: /storage/galaxy/venv
What might we be missing?
What should the ownership of the venv be? Currently we have it owned by the galaxy user.
An attempt to change the service file (/etc/systemd/system/galaxy.service) which specify the venv was not successfull (same modulenotfound error). Probably getting this right is what is missing. Our attempt was:
ExecStart=/srv/galaxy/venv/bin/uwsgi --yaml /srv/galaxy/config/galaxy.yml --stats 127.0.0.1:4010
Environment=HOME=/srv/galaxy VIRTUAL_ENV=/storage/galaxy/venv PATH=/storage/galaxy/venv/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin DOCUTILSCONFIG= PYTHONPATH=/srv/galaxy/server/lib/galaxy/jobs/rules DRMAA_LIBRARY_PATH=/srv/drmaa/lib/libdrmaa.so.1
