Skip to content

Add info on how to get OOD log directory for past jobs #68

@bdu-birhanu

Description

@bdu-birhanu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions