Skip to content

Upgrade Slurm version to 25.11.2#329

Merged
AdarshK15 merged 2 commits intoGoogleCloudPlatform:masterfrom
AdarshK15:slurm-upgrade
Feb 20, 2026
Merged

Upgrade Slurm version to 25.11.2#329
AdarshK15 merged 2 commits intoGoogleCloudPlatform:masterfrom
AdarshK15:slurm-upgrade

Conversation

@AdarshK15
Copy link
Copy Markdown
Member

@AdarshK15 AdarshK15 commented Feb 13, 2026

Summary

This PR upgrades Slurm version to 25.11.2 and also fixes two issues:

  1. On Rocky Linux 8, Ansible 8.x requires Python > 3.6, but since the SELinux libraries are installed specifically in the Python 3.6 package, setting ansible_python_interpreter to Python 3.6 to prevent 'module not found' errors.

  2. Fixed the IPv6 bind address in the slurmrestd service template. Changing :::8642 to [::]:8642 resolves the error: '_xgetaddrinfo: getaddrinfo((null):::8642) failed: Name or service not known'.

gemini-code-assist[bot]

This comment was marked as outdated.

@AdarshK15 AdarshK15 changed the title Upgarde Slurm version to 25.11.2 Upgrade Slurm version to 25.11.2 Feb 18, 2026
@AdarshK15
Copy link
Copy Markdown
Member Author

/gemini summary

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

This pull request primarily focuses on updating the Slurm version to 25.11.2, ensuring that the latest features and stability improvements are integrated. Concurrently, it addresses specific environment-related issues, enhancing the robustness of the Ansible playbooks and the Slurm REST daemon service configuration. These changes aim to improve compatibility and operational reliability within the system.

Highlights

  • Slurm Version Upgrade: The Slurm version has been upgraded from 25.05.2 to 25.11.2 across various configuration files and documentation.
  • Ansible Python Interpreter Fix: The ansible_python_interpreter in the SELinux role has been conditionally set to /usr/bin/python3.6 for Rocky Linux 8 to prevent 'module not found' errors, while retaining /usr/bin/python3 for other distributions.
  • IPv6 Bind Address Correction: The IPv6 bind address in the slurmrestd service template has been corrected from :::8642 to [::]:8642 to resolve a 'Name or service not known' error.
Changelog
  • ansible/roles/selinux/tasks/main.yml
    • Modified the ansible_python_interpreter to be conditionally set based on the ansible_distribution_major_version for improved compatibility.
  • ansible/roles/slurm/defaults/main.yml
    • Updated the default slurm_version variable to 25.11.2.
  • ansible/roles/slurm/templates/systemd/slurmrestd.service.j2
    • Corrected the IPv6 bind address format in the SLURMRESTD_BINDS environment variable.
  • docs/images.md
    • Updated the documented Slurm version to 25.11.2.
  • packer/docker/build.py
    • Changed the default Slurm version argument to 25.11.2.
  • packer/variables.pkr.hcl
    • Updated the default Slurm version variable to 25.11.2.
Activity
  • AdarshK15 requested a summary of the pull request.
  • A bot identified a critical issue regarding an invalid certifi version (2026.1.4) that would cause pip install to fail.
  • A bot identified a critical issue regarding an invalid protobuf version (6.33.5) and dependency conflicts with other packages.
  • A bot suggested a high-priority improvement for the ansible_python_interpreter in ansible/roles/selinux/tasks/main.yml to ensure portability across different RedHat distributions, which was subsequently implemented in this PR.

@AdarshK15 AdarshK15 marked this pull request as ready for review February 19, 2026 16:51
@AdarshK15 AdarshK15 merged commit 97f800b into GoogleCloudPlatform:master Feb 20, 2026
6 checks passed
@AlexeySaff
Copy link
Copy Markdown

25.11.2 has a lot of bugs, and 25.11.3 was release recently that has a lot of improvements. let's jump to that version please

@AdarshK15 AdarshK15 deleted the slurm-upgrade branch March 15, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants