Slurm fails to deploy on CIS hardened ubuntu image

Open Beginner friendly
#519 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
azure, linux, python, ubuntu

Research direction

Start by tracing where the deployment creates /opt/azurehpc and how the slurmctld prolog is executed, then reproduce the failure on a CIS-hardened Ubuntu image. The fix is done when /opt/azurehpc has mode 0755 and Slurm installs and runs its prolog successfully in the hardened UMASK 027 environment.

Written by the indexing model from the issue text.

Description

Slurm fails to execute the slurmctld prolog out of /opt/azurehpc which is created as root:root mode 0750 in a hardened UMASK 027 environment. A check for mode 0755 for /opt/azurehpc directory is needed for slurm before slurm can be installed correctly.

Dominant language
Python
Stars
84
Forks
56
Avg merge
6d 15h
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/cyclecloud-slurm

All issues in Azure/cyclecloud-slurm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.