Skip to content

3.0: Merge wip/pcluster3 into develop #316

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

Merged
merged 23 commits into from
Jul 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
988c1dd
Remove every reference to Torque and SGE schedulers
enrico-usai Apr 7, 2021
3ba3089
Use inclusive language: from master to head node
enrico-usai Apr 7, 2021
b15bed8
Remove cfn_ prefix from scheduler slots parameter
enrico-usai Apr 7, 2021
c755776
Remove unused utility functions
enrico-usai Apr 9, 2021
fbee000
Bump version to 3.0.0
enrico-usai Apr 22, 2021
be1401e
Change tag prefix to 'parallelcluster:'
rexcsn Apr 20, 2021
9187a70
Modify uploadNode utility to be aligned with new S3 Bucket tree
enrico-usai Apr 28, 2021
98c42c2
Fix isort as per pre-commit policy
gmarciani May 13, 2021
c8292b8
Add to gitignore: *iml
gmarciani May 13, 2021
d38c648
Fix pre-commit configuration: bandit.ini file path
gmarciani May 13, 2021
9ae3653
Remove public-read ACL from S3 commands used to upload sources to cus…
gmarciani May 14, 2021
df78342
Execute Slurm command scontrol with sudo
gmarciani May 14, 2021
d634a33
Add to gitignore: aws-parallelcluster-node tgz files
gmarciani May 18, 2021
875ef93
Rename tag ClusterName to parallelcluster:cluster-name
hanwen-cluster May 18, 2021
76d59f7
Self-terminate via shutdown instead of TerminateInstances
Jun 23, 2021
8550341
Fix code linters
chenwany Jul 9, 2021
af299c9
Apply "Add Slurm Protected mode"
chenwany Jun 17, 2021
e884d97
Clustermgtd refactor
chenwany Jun 17, 2021
9e945d7
3.0 Apply Rename tag after applying protected_mode
chenwany Jun 30, 2021
1aedcd6
Apply "Drop deprecated features and use inclusive language"
chenwany Jul 1, 2021
a9bb0c8
Resolve conflict and adapt changes on "Self-terminate via shutdown in…
chenwany Jul 8, 2021
29cf9db
3.0 Cherry-pick:Not use cloud_reg_addrs option and manually reset nod…
chenwany Jun 17, 2021
5004513
Merge branch 'develop' into wip/pcluster3
enrico-usai Jul 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ignore =
D104, # Missing docstring in public package
D107, # Missing docstring in __init__
W503, # line break before binary operator => Conflicts with black style.
N818, # exception name should be named with an Error suffix
exclude =
.tox,
.git,
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ dist/
build/
*.egg-info/
.idea/
*.iml
.DS_Store
.tox/
.coverage
coverage.xml

aws-parallelcluster-node-*.tgz
aws-parallelcluster-node-*.md5
aws-parallelcluster-node-*.date
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[settings]
line_length=120
known_third_party=assertpy,boto3,botocore,common,jobwatcher,nodewatcher,paramiko,pytest,retrying,setuptools,six,slurm_plugin,sqswatcher
known_third_party=assertpy,boto3,botocore,common,paramiko,pytest,requests,retrying,setuptools,six,slurm_plugin
# 3 - Vertical Hanging Indent
# from third_party import (
# lib1,
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ repos:
rev: 1.7.0
hooks:
- id: bandit
args: ['-r', '-c', 'cli/.bandit.ini', '--exclude', 'tests']
args: ['-r', '-c', '.bandit.ini', '--exclude', 'tests']
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ aws-parallelcluster-node CHANGELOG

This file is used to list changes made in each version of the aws-parallelcluster-node package.

3.0.0
------

**CHANGES**

- Drop support for SGE and Torque schedulers.
- Use tags prefix `parallelcluster:`.
- Run Slurm command `scontrol` with sudo because clustermgtd is run as cluster admin user (not root).
- Implement `computemgtd` self-termination via `shutdown` command instead of calling TerminateInstances.
- Implement scaling protection mechanism with Slurm scheduler: compute fleet is automatically set to 'PROTECTED' state
in case recurrent failures are encountered when provisioning nodes.

2.11.0
-----

Expand Down Expand Up @@ -40,7 +52,7 @@ This file is used to list changes made in each version of the aws-parallelcluste
- Improve error handling in slurm plugin processes when clustermgtd is down.

**CHANGES**
- Increase max attempts when retrying on Route53 API call failures.
- Increase max attempts when retrying on Route53 API call failures.

2.10.0
-----
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ def read(fname):


console_scripts = [
"sqswatcher = sqswatcher.sqswatcher:main",
"nodewatcher = nodewatcher.nodewatcher:main",
"jobwatcher = jobwatcher.jobwatcher:main",
"slurm_resume = slurm_plugin.resume:main",
"slurm_suspend = slurm_plugin.suspend:main",
"clustermgtd = slurm_plugin.clustermgtd:main",
"computemgtd = slurm_plugin.computemgtd:main",
]
version = "2.11.0"
version = "3.0.0"
requires = ["boto3>=1.7.55", "retrying>=1.3.3", "paramiko>=2.4.2", "requests>=2.24.0"]

setup(
Expand Down
Loading