Skip to content

Commit

Permalink
Disable Slurm database bootstrap from external slurmdbd
Browse files Browse the repository at this point in the history
The external slurmdbd instance cannot use Slurm client commands
since it does not have a "full configuration source" (it's
outside a Slurm cluster).

This must be investigated with SchedMD.

Signed-off-by: Jacopo De Amicis <jdamicis@amazon.it>
  • Loading branch information
jdeamicis committed Dec 6, 2023
1 parent f1ac7e9 commit fe80918
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
command "#{node['cluster']['slurm']['install_dir']}/bin/sacctmgr show clusters -Pn"
retries node['cluster']['slurmdbd_response_retries']
retry_delay 10
end unless on_docker?
end unless on_docker? || node['is_external_slurmdbd']

bash "bootstrap slurm database" do
user 'root'
Expand Down Expand Up @@ -108,4 +108,4 @@
# This is not important for the scope of this script, so we return 0.
exit 0
BOOTSTRAP
end unless on_docker?
end unless on_docker? || node['is_external_slurmdbd']

0 comments on commit fe80918

Please sign in to comment.