I am setting up Galaxy v25 on my local VM in a shared HPC environment. However, I encountered an error related to the SLURM setup in my job_conf.yml. Below are the relevant excerpts and error messages:
/galaxy/lib/galaxy/jobs/__init__.py:1781: SAWarning: TypeDecorator MutableJSONType() will not produce a cache key because the ``cache_ok`` attribute is not set to True. This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions. Set this attribute to True if this type object's state is safe to use in a cache key, or False to disable this warning. (Background on this warning at: ) result = self.sa_session.execute(update_stmt)
I’ve asked your question over at the developer’s matrix chat to see if anyone recognizes what may be going wrong. They will likely reply here but feel free to join this Dev chat and the Admin chat! You're invited to talk on Matrix
I received the following feedback from our cluster team:
“We cannot remove those debug flags, we need them set. The debug flags are valid. Maybe the software trying to submit the jobs is not configured correctly? I’m not sure why it’s even looking at those instead of ignoring them. These flags do not affect clients—only the controller and the slurmd service daemons are affected.”
Do you have any idea why Galaxy might be calling these, or if there’s a way we can configure Galaxy to ignore them? or how to set up the env for this situation.
I solved the issue by copying /etc/slurm/slurm.conf to my local slurm.conf, commenting out DebugFlags=AuditRPCs,Cgroup, and then exporting it with: export SLURM_CONF=~/slurm.conf