OSC / ood_core

Open OnDemand core library
https://osc.github.io/ood_core/
MIT License
10 stars 30 forks source link

sacctmgr shouldn't use -M #806

Closed johrstrom closed 1 year ago

johrstrom commented 1 year ago

sacctmgr cannot use the -M flag for clusters. IIRC we have a statement for scontrol, but it seems we need one for sacctmgr as well.

error='ActionView::Template::Error: /usr/local/bin/sacctmgr: invalid option -- 'M'\nTry \"sacctmgr --help\" 

┆Issue is synchronized with this Asana task by Unito

johrstrom commented 1 year ago

I did not recall correctly. We have this statement for sacctmgr, so it may be an issue with using the full path /usr/local/bin/sacctmgr

https://github.com/OSC/ood_core/blob/92e9ac9abc219e0c1147f1277aa5312cb464b440/lib/ood_core/job/adapters/slurm.rb#L380