Closed antoinetran closed 1 month ago
For context explanation of why I need to force a different squeue, this is because I need to provide a SLURM_JWT
token at each squeue/sbatch/scancel invocation. For that I wrote a wrapper to be called. Not running this wrapper but running squeue results in a munge issue because I don't mount munge for security reason.
Merged, going to test it with the test suite during the weekend
Short Description of the issue
When providing a squeue path different from default, interlink slurm plugin would still use
squeue
.Environment
Steps to reproduce
Provides slurm config:
and rename squeue:
Logs, stacktrace, or other symptoms
Summary of proposed changes
Analyze: Hard-coded squeue: https://github.com/interTwin-eu/interlink-slurm-plugin/blob/0.3.2/pkg/slurm/Status.go#L60 It should have been using squeue from config: https://github.com/interTwin-eu/interlink-slurm-plugin/blob/0.3.2/pkg/slurm/Status.go#L81