I've moved this discussion over to galaxy-dev since it's more relevant
to that list.
Alastair Kerr wrote:
I am looking to add galaxy to our local cluster. One of the
of use is that I have to ensure that any job submitted to the cluster
can be traced back to an individual user. What is the easiest means to
Since Galaxy runs under a single non-root user, we can't submit jobs as
another user. So, all of the jobs in the scheduler itself will be run
as that single user.
I assume that I have to force user logins (this can be done via the
universe_wsgi.ini I think).
However my local install running on a single machine does not appear to
list user information in the paster.log file, just the ip address.
I'll look in to adding the username to the log statement, but in the
meantime, a job's user can be selected from the database using a
SELECT galaxy_user.email FROM galaxy_user, history, job
WHERE job.history_id = history.id
AND galaxy_user.id = history.user_id
AND job.id = <job id>;