Persistent Disk Storage Pool Support for Slurm modules - #6012
Persistent Disk Storage Pool Support for Slurm modules#6012rahimkhan19 wants to merge 3 commits into
Conversation
…gin, and node modules
Summary of ChangesHello, 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 introduces support for Google Cloud Platform (GCP) Storage Pools within the Slurm GCP v6 modules. By adding the 'disk_storage_pool' configuration option to controller, login, and compute node definitions, users can now provision boot and data disks within specific storage pools, which is a requirement for utilizing Hyperdisk storage types. The changes ensure that these settings are correctly passed through the infrastructure stack to the underlying compute instance templates. Highlights
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 the 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 counterproductive. 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. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces support for configuring a disk_storage_pool for boot disks and additional disks across various Slurm GCP v6 modules, including nodesets, partitions, controllers, logins, and instance templates. This allows utilizing Google Cloud storage pools with Hyperdisk types. The review feedback recommends replacing lookup() with try() blocks in internal_instance_template/main.tf to safely access nullable or optional variables and prevent potential plan-time crashes.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces support for specifying a disk storage pool for boot and additional disks across various SchedMD Slurm GCP v6 modules, including nodeset, nodeset-dynamic, partition, controller, login, and instance templates. A new disk_storage_pool variable has been added and propagated to the underlying Google Compute instance templates, enabling the use of storage pools with Hyperdisk types. There are no review comments, and the changes are well-structured and consistent with the repository's Terraform module guidelines, so I have no feedback to provide.
Added support for GCP Storage Pools to the Slurm GCP v6 modules (schedmd-slurm-gcp-v6-controller, schedmd-slurm-gcp-v6-login, schedmd-slurm-gcp-v6-nodeset, schedmd-slurm-gcp-v6-nodeset-dynamic, and schedmd-slurm-gcp-v6-partition).
Added:
Submission Checklist
NOTE: Community submissions can take up to 2 weeks to be reviewed.
Please take the following actions before submitting this pull request.