Skip to content

Commit

Permalink
Merge pull request #533 from nebius/526-slermrestd_conf_fix
Browse files Browse the repository at this point in the history
#526 Fix bug for cannot stat file /etc/slurm/slurm_rest.conf
  • Loading branch information
asteny authored Mar 6, 2025
2 parents 2e9b588 + 0aadf71 commit 1ea3b2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/restd/slurmrestd.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN for pkg in slurm-smd slurm-smd-slurmrestd; do \
EXPOSE 6820

# Copy restd conf file (overwrite AuthType)
COPY restd/slurm_rest.conf /etc/slurm/slurm_rest.conf
COPY restd/slurm_rest.conf /etc/slurm_rest.conf

# Copy & run the entrypoint script
COPY restd/slurmrestd_entrypoint.sh /opt/bin/slurm/
Expand Down
2 changes: 1 addition & 1 deletion images/restd/slurmrestd_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ rm -rf /etc/slurm && ln -s /mnt/slurm-configs /etc/slurm
chown www-data:www-data /usr/sbin/slurmrestd && chmod 500 /usr/sbin/slurmrestd

echo "Start slurmrestd daemon"
exec /usr/sbin/slurmrestd -f /etc/slurm/slurm_rest.conf -u www-data -g www-data -a rest_auth/jwt -vvvvvv :6820
exec /usr/sbin/slurmrestd -f /etc/slurm_rest.conf -u www-data -g www-data -a rest_auth/jwt -vvvvvv :6820

0 comments on commit 1ea3b2c

Please sign in to comment.