Skip to content

Allowing placement policies to work with Dynamic Nodesets #4369

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 3 commits into
base: develop
Choose a base branch
from

Conversation

cboneti
Copy link
Member

@cboneti cboneti commented Jul 9, 2025

Submission Checklist

NOTE: Community submissions can take up to 2 weeks to be reviewed.

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 #

google-labs-jules bot and others added 3 commits June 13, 2025 22:28
Updates the auto-generated placement policy name in the
`schedmd-slurm-gcp-v6-nodeset-dynamic` module to include the
`slurm_cluster_name`.

This change addresses feedback to ensure that default placement policy
names are unique across different Slurm cluster deployments within the
same Google Cloud project.

The new default format for the policy name is:
`{slurm_cluster_name}-{nodeset_name}-compact-policy`

If you provide a custom `placement_policy_name`, that will still
take precedence.
@cboneti cboneti requested review from samskillman and a team as code owners July 9, 2025 13:21
@cboneti cboneti added the release-bugfix Added to release notes under the "Bug fixes" heading. label Jul 9, 2025
Copy link
Contributor

@SwarnaBharathiMantena SwarnaBharathiMantena left a comment

Choose a reason for hiding this comment

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

LGTM

Pre-commit is failing. Please check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-bugfix Added to release notes under the "Bug fixes" heading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants