Skip to content

Ensure GCS bucket region matches config region #1220

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ehorning
Copy link
Contributor

Ensure that the region of the GCS bucket matches the cluster region for axlearn jobs. Requires user input to confirm whether they would like to continue despite region mismatch.

@ehorning ehorning requested review from ruomingp, markblee and a team as code owners May 28, 2025 15:18
@@ -375,6 +381,8 @@ def run(self):
cfg: BaseBastionManagedJob.Config = self.config
from_vm = running_from_vm()

validate_region_matching(gcp_settings("private_bucket"), gcp_settings("zone"))
Copy link
Contributor

@Ethanlm Ethanlm May 30, 2025

Choose a reason for hiding this comment

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

private_bucket is used for quota files, not for data or checkpoints
Also gcp_settings is read from the static config file, users don't usually change it

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.

2 participants