Skip to content

Remove AWS Batch scheduler support and Amazon Linux 2 (AL2) OS support from ParallelCluster#7394

Draft
hanwen-cluster wants to merge 4 commits into
aws:developfrom
hanwen-cluster:developmaydeprecation
Draft

Remove AWS Batch scheduler support and Amazon Linux 2 (AL2) OS support from ParallelCluster#7394
hanwen-cluster wants to merge 4 commits into
aws:developfrom
hanwen-cluster:developmaydeprecation

Conversation

@hanwen-cluster
Copy link
Copy Markdown
Contributor

Description of changes

Changes

  • Delete awsbatch-cli/ package, awsbatch_builder.py, awsbatch_validators.py, Batch API client, and all Batch integration tests
  • Remove Batch from schemas, constants, cluster model, IAM policy templates, and CI workflows
  • Remove AL2 from supported OS list and image builder configs
  • Mechanically replace Os: alinux2 → Os: alinux2023 across all test config YAMLs
  • Delete Batch-only utility scripts (generate-ami-list.py, update_pcluster_configs.py, upload-script.py, bump-awsbatch-cli-version.sh) — these have no Slurm equivalent use

Notes for reviewers

  • pcluster configure wizard removes the scheduler selection prompt entirely since Slurm is now the only option.
  • conditions gating on scheduler type are simplified; is_awsbatch helper and related conditional logic removed rather than left as dead code.

Tests

  • Full integration tests suite is running

References

  • Link to impacted open issues.
  • Link to related PRs in other packages (i.e. cookbook, node).
  • Link to documentation useful to understand the changes.

Checklist

  • Make sure you are pointing to the right branch.
  • If you're creating a patch for a branch other than develop add the branch name as prefix in the PR title (e.g. [release-3.6]).
  • Check all commits' messages are clear, describing what and why vs how.
  • Make sure to have added unit tests or integration tests to cover the new/modified code.
  • Check if documentation is impacted by this change.

Please review the guidelines for contributing and Pull Request Instructions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

iam_authorizations,
encryption_in_transits,
)
remote_command_executor, scheduler_commands = _check_efs_after_nodes_reboot(
iam_authorizations,
encryption_in_transits,
)
remote_command_executor, scheduler_commands = _check_efs_after_nodes_reboot(
@hanwen-cluster hanwen-cluster force-pushed the developmaydeprecation branch 5 times, most recently from bcefd56 to b51c10f Compare May 14, 2026 19:47
…t from ParallelCluster

  Changes

  - Delete awsbatch-cli/ package, awsbatch_builder.py, awsbatch_validators.py, Batch API client, and all Batch integration tests
  - Remove Batch from schemas, constants, cluster model, IAM policy templates, and CI workflows
  - Remove AL2 from supported OS list and image builder configs
  - Mechanically replace Os: alinux2 → Os: alinux2023 across all test config YAMLs
  - Delete Batch-only utility scripts (generate-ami-list.py, update_pcluster_configs.py, upload-script.py, bump-awsbatch-cli-version.sh) — these have no Slurm equivalent use

  Notes for reviewers

  - pcluster configure wizard removes the scheduler selection prompt entirely since Slurm is now the only option.
  - conditions gating on scheduler type are simplified; is_awsbatch helper and related conditional logic removed rather than left as dead code.
@hanwen-cluster hanwen-cluster force-pushed the developmaydeprecation branch from b51c10f to f0d4d67 Compare May 14, 2026 19:59
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