aws-samples / aws-parallelcluster-post-install-scripts

Scripts to customize AWS ParallelCluster
MIT No Attribution
23 stars 13 forks source link

[rest-api] Enforce slurmdbd.conf existence and improve error handling #35

Closed rkilpadi closed 4 months ago

rkilpadi commented 4 months ago

Issue #, if available:

25

Description of changes: Enforced error handling for the existence of slurmdbd.conf, which is created when Slurm accounting is enabled. This seems to be a prerequisite of slurmrestd. Without it, the Slurm REST API will not be able to perform useful functions relating to jobs (and in my testing will not even start).

Testing:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

himani2411 commented 4 months ago

LGTM!