Azure / Azure/azure-quickstart-templates

srun: error: Unable to allocate resources: Unable to contact slurm controller (connect failure)

Open
#1,796 23 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

Template: [Slurm](https://github.com/Azure/azure-quickstart-templates/tree/master/slurm)
### Issue Details

Upon restarting a VM, slurm seems to break down. How might it be possible to prevent this?
### Repro steps
1. Use the button to launch a slurm cluster.
2. ssh into master
3. `srun -N3 hostname` -> succeeds
4. Restart master
5. ssh into master
6. `srun -N3 hostname` -> fails with error message:

```
srun: error: Unable to allocate resources: Unable to contact slurm controller (connect failure)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Slurm template linked in the issue and inspect how the master VM configures or starts the Slurm controller after boot. Reproduce the sequence by running `srun -N3 hostname`, restarting the master, and running it again; done means the command succeeds after the restart without manual recovery.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.