Fix SELinux issue in hpc-build-slurm-image blueprint#5266
Fix SELinux issue in hpc-build-slurm-image blueprint#5266AdarshK15 merged 1 commit intoGoogleCloudPlatform:developfrom
Conversation
Summary of ChangesHello @AdarshK15, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a critical deployment failure within the Highlights
Changelog
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
The pull request successfully addresses the SELinux deployment failure by upgrading the environment to Python 3.12 and Ansible 8.7.0. These upgrades ensure compatibility with the latest Slurm playbooks and provide a more robust environment for the image build process. The inclusion of the selinux Python module is critical for Ansible's SELinux management tasks, and its installation within the upgraded Python 3.12 environment resolves the reported issue. The changes are consistent with the Cluster Toolkit's move towards newer Python and Ansible versions as seen in the repository's internal installation scripts.
1151e46
into
GoogleCloudPlatform:develop
This PR fixes a deployment failure in
hpc-build-slurm-image.yamlwhere startup script fails to disable SELinux becauseselinuxmodule is not found in the Python3 environment for Rocky Linux 8 image.Changes:
ansible-core 2.15. Slurm 25.11.2 requiresansible-core >= 2.15.Part of this fix was delivered in slurm-gcp PR.
Submission Checklist
NOTE: Community submissions can take up to 2 weeks to be reviewed.
Please take the following actions before submitting this pull request.