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 machine type availability checks #3003

Conversation

annuay-google
Copy link
Contributor

@annuay-google annuay-google commented Sep 4, 2024

Add machine type- availability zone precondition. Validate infra is provisioned only if the machine exists in one of the zones specified

Submission Checklist

Please take the following actions before submitting this pull request.

  • Fork your PR branch from the Toolkit "develop" branch (not main)
  • Test all changes with pre-commit in a local branch #
  • Confirm that "make tests" passes all tests
  • Add or modify unit tests to cover code changes
  • Ensure that unit test coverage remains above 80%
  • Update all applicable documentation
  • Follow Cluster Toolkit Contribution guidelines #

@annuay-google annuay-google added the release-module-improvements Added to release notes under the "Module Improvements" heading. label Sep 4, 2024
@annuay-google annuay-google force-pushed the annuay/add-machine-type-availability-checks branch from 51c46f8 to 9d4d2a1 Compare September 4, 2024 19:08
@annuay-google annuay-google changed the title Annuay/add machine type availability checks Add machine type availability checks Sep 4, 2024
mr0re1
mr0re1 previously approved these changes Sep 4, 2024
Copy link
Collaborator

@mr0re1 mr0re1 left a comment

Choose a reason for hiding this comment

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

Please run all tests

@mr0re1 mr0re1 assigned annuay-google and unassigned tpdownes Sep 4, 2024
@tpdownes
Copy link
Member

tpdownes commented Sep 5, 2024

@annuay-google please rebase this PR off the current state of the develop branch.

@tpdownes tpdownes dismissed mr0re1’s stale review September 5, 2024 14:33

I would like to see the Slurm 6 tests pass reliably before merging

Copy link
Member

@tpdownes tpdownes left a comment

Choose a reason for hiding this comment

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

Please rebase off current state of develop and run the Slurm 6 integration tests.

@annuay-google annuay-google force-pushed the annuay/add-machine-type-availability-checks branch from 9d4d2a1 to ef6d169 Compare September 6, 2024 13:14
@annuay-google
Copy link
Contributor Author

annuay-google commented Sep 6, 2024

Please rebase off current state of develop and run the Slurm 6 integration tests.

Rebased and ran all Slurm 6 tests. All were successful

Screenshot 2024-09-07 at 1 53 07 AM

@annuay-google annuay-google removed their assignment Sep 6, 2024
@annuay-google annuay-google force-pushed the annuay/add-machine-type-availability-checks branch from ef6d169 to aaf4161 Compare September 6, 2024 20:59
@annuay-google annuay-google changed the base branch from develop to main September 6, 2024 21:00
@annuay-google annuay-google changed the base branch from main to develop September 6, 2024 21:01
@annuay-google annuay-google force-pushed the annuay/add-machine-type-availability-checks branch from aaf4161 to 720a5f9 Compare September 6, 2024 21:04
@tpdownes tpdownes assigned annuay-google and unassigned tpdownes Sep 9, 2024
@annuay-google annuay-google force-pushed the annuay/add-machine-type-availability-checks branch 6 times, most recently from bbbc966 to c34a38f Compare September 11, 2024 18:12
…rovisioned only if the machine exists in one of the zones specified

Update tools/cloud-build/daily-tests/tests/hcls.yml

Co-authored-by: Tom Downes <[email protected]>

Update tools/cloud-build/daily-tests/tests/hcls.yml

Co-authored-by: Tom Downes <[email protected]>

Use europe-west1-d in reservations.tf
@annuay-google annuay-google force-pushed the annuay/add-machine-type-availability-checks branch from 1d3787e to 62acb6a Compare September 11, 2024 18:22
Copy link
Member

@tpdownes tpdownes left a comment

Choose a reason for hiding this comment

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

We'll review how to avoid gaps between blueprint under examples directory and the overrides in our integration tests and create a task for future work.

@tpdownes tpdownes assigned annuay-google and unassigned tpdownes Sep 11, 2024
@annuay-google annuay-google merged commit dd5647e into GoogleCloudPlatform:develop Sep 11, 2024
11 of 52 checks passed
@annuay-google annuay-google deleted the annuay/add-machine-type-availability-checks branch September 11, 2024 19:36
@tpdownes tpdownes mentioned this pull request Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-module-improvements Added to release notes under the "Module Improvements" heading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants