Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add controller save state disk #3661

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

alyssa-sm
Copy link
Contributor

@alyssa-sm alyssa-sm commented Feb 10, 2025

This PR implements a state save disk for the controller. With this implementation, slurm information saved on the controller will persist even if the controller were to be destroyed.

@alyssa-sm alyssa-sm self-assigned this Feb 10, 2025
@alyssa-sm alyssa-sm marked this pull request as ready for review February 11, 2025 17:50
@alyssa-sm alyssa-sm requested a review from mr0re1 February 11, 2025 17:50
@alyssa-sm alyssa-sm added the release-key-new-features Added to release notes under the "Key New Features" heading. label Feb 11, 2025
@alyssa-sm alyssa-sm assigned mr0re1 and unassigned alyssa-sm Feb 11, 2025
content {
source = google_compute_disk.controller_state_disk[0].id
mode = "READ_WRITE"
device_name = "${local.slurm_cluster_name}-controller-state"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit. Is there a particular reason to give "uniq" name to the device? Not objection, just curious.

@mr0re1 mr0re1 assigned alyssa-sm and unassigned mr0re1 Feb 12, 2025
@alyssa-sm alyssa-sm force-pushed the disk-save-state branch 4 times, most recently from 477f527 to 362adae Compare February 14, 2025 10:33
@alyssa-sm alyssa-sm requested a review from mr0re1 February 14, 2025 10:37
@alyssa-sm alyssa-sm assigned mr0re1 and unassigned alyssa-sm Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-key-new-features Added to release notes under the "Key New Features" heading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants