-
Notifications
You must be signed in to change notification settings - Fork 9
Description
What would you like to see added?
@mdefende has already opened this issue in our main docs-tracking repo as well.
When debugging OOD app problems, we sometimes need the logs from the failed jobs. OOD stores all of these logs in the user's /data/user/$USER/ondemand/batch_connect/sys directory and names each individual log directory with a hash value instead of anything useful. This makes it impossible to tell from a glance which directory belongs to which job ID if the job has already ended.
sacct luckily stores this information in the WorkDir field. To find the log directory for a failed OOD job, use the following command:
sacct -j <jobid> -o jobid,workdir --parsable
This directory can be downloaded, zipped, and attached to a ticket for review by our team.