Skip to content

Commit fc3ffe9

Browse files
authored
Merge Release 2.4.1
Merge Release 2.4.1
2 parents 9dbff99 + 52a7287 commit fc3ffe9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2012
-507
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ build/
99
.idea/
1010
.DS_Store
1111
.tox/
12+
.coverage

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
language: python
22

33
python:
4-
- "2.6"
5-
- "2.7"
6-
- "3.4"
74
- "3.5"
85
- "3.6"
96

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,31 @@ aws-parallelcluster-node CHANGELOG
33

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

6+
2.4.1
7+
-----
8+
9+
**ENHANCEMENTS**
10+
- Torque:
11+
- process nodes added to or removed from the cluster in batches in order to speed up cluster scaling.
12+
- scale up only if required slots/nodes can be satisfied
13+
- scale down if pending jobs have unsatisfiable CPU/nodes requirements
14+
- add support for jobs in hold/suspended state (this includes job dependencies)
15+
- automatically terminate and replace faulty or unresponsive compute nodes
16+
- add retries in case of failures when adding or removing nodes
17+
- add support for ncpus reservation and multi nodes resource allocation (e.g. -l nodes=2:ppn=3+3:ppn=6)
18+
19+
**CHANGES**
20+
- Drop support for Python 2. Node daemons now support Python >= 3.5.
21+
- Torque: trigger a scheduling cycle every 1 minute when there are pending jobs in the queue. This is done in order
22+
to speed up jobs scheduling with a dynamic cluster size.
23+
24+
**BUG FIXES**
25+
- Restore logic that was automatically adding compute nodes identity to known_hosts file.
26+
- Slurm: fix issue that was causing the daemons to fail when the cluster is stopped and an empty compute nodes file
27+
is imported in Slurm config.
28+
- Torque: fix command to disable hosts in the scheduler before termination.
29+
30+
631
2.4.0
732
-----
833

jobwatcher/plugins/torque.py

Lines changed: 0 additions & 62 deletions
This file was deleted.

nodewatcher/plugins/torque.py

Lines changed: 0 additions & 97 deletions
This file was deleted.

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
requests>=2.21.0
12
boto3>=1.7.55
2-
paramiko>=2.4.2
3-
python-dateutil>=2.6.1
43
retrying>=1.3.3
5-
future>=0.17.1
64
configparser>=3.7.4
5+
paramiko>=2.4.2
6+

requirements26.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

setup.py

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,8 @@ def read(fname):
2929
"nodewatcher = nodewatcher.nodewatcher:main",
3030
"jobwatcher = jobwatcher.jobwatcher:main",
3131
]
32-
version = "2.4.0"
33-
requires = ["boto3>=1.7.55", "python-dateutil>=2.6.1", "retrying>=1.3.3", "future>=0.17.1", "configparser>=3.7.4"]
34-
35-
if sys.version_info[:2] == (2, 6):
36-
# For python2.6 we have to require argparse since it
37-
# was not in stdlib until 2.7.
38-
requires.append("argparse>=1.4")
39-
requires.append("idna==2.6")
40-
requires.append("paramiko==2.3.3")
41-
requires.append("cryptography==2.1.4") # dependency of paramiko
42-
requires.append("pycparser==2.18")
43-
else:
44-
requires.append("paramiko>=2.4.2")
32+
version = "2.4.1"
33+
requires = ["requests>=2.21.0", "boto3>=1.7.55", "retrying>=1.3.3", "configparser>=3.7.4", "paramiko>=2.4.2"]
4534

4635
setup(
4736
name="aws-parallelcluster-node",
@@ -50,7 +39,9 @@ def read(fname):
5039
description="aws-parallelcluster-node provides the scripts for an AWS ParallelCluster node.",
5140
url="https://github.com/aws/aws-parallelcluster-node",
5241
license="Apache License 2.0",
53-
packages=find_packages(),
42+
packages=find_packages("src", exclude=["tests"]),
43+
package_dir={"": "src"},
44+
python_requires=">=3.5",
5445
install_requires=requires,
5546
entry_points=dict(console_scripts=console_scripts),
5647
include_package_data=True,

sqswatcher/plugins/torque.py

Lines changed: 0 additions & 131 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)