Skip to content

Commit 1f8ab59

Browse files
author
Sean Smith
authored
Release 2.5.0
Merge Release 2.5.0
2 parents f0b50ba + ffc3cbe commit 1f8ab59

File tree

94 files changed

+2932
-884
lines changed

Some content is hidden

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

94 files changed

+2932
-884
lines changed

.flake8

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[flake8]
2+
ignore =
3+
D100, # Missing docstring in public module
4+
D104, # Missing docstring in public package
5+
D107, # Missing docstring in __init__
6+
D103, # Missing docstring in public function
7+
W503, # line break before binary operator => Conflicts with black style.
8+
D413, # Missing blank line after last section
9+
exclude =
10+
.tox,
11+
.git,
12+
.pytest_cache,
13+
docs/source/conf.py,
14+
build,
15+
dist,
16+
tests/fixtures/*,
17+
*.pyc,
18+
*.egg-info,
19+
.cache,
20+
.eggs
21+
max-complexity = 10
22+
max-line-length = 120
23+
import-order-style = google
24+
application-import-names = flake8
25+
format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ bin/*
1818

1919
build.log
2020
build-*.log
21+
22+
.tox/

.isort.cfg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[settings]
2+
line_length=120
3+
known_future_library=future
4+
known_third_party=boto3,botocore,awscli,tabulate,argparse,configparser,pytest,pytest,pytest-datadir,pytest-html,pytest-rerunfailures,pytest-xdist,argparse,retrying,junitparser,Jinja2
5+
# 3 - Vertical Hanging Indent
6+
# from third_party import (
7+
# lib1,
8+
# lib2,
9+
# lib3,
10+
# lib4,
11+
# )
12+
multi_line_output=3
13+
include_trailing_comma=true

.kitchen.cloud.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ platforms:
3535
block_device_mappings:
3636
- device_name: /dev/xvda
3737
ebs:
38-
volume_size: <%= ENV['VOLUME_SIZE'] || 17 %>
38+
volume_size: <%= ENV['VOLUME_SIZE'] || 25 %>
3939
volume_type: gp2
4040
delete_on_termination: true
4141
- device_name: /dev/xvdba
@@ -96,7 +96,7 @@ platforms:
9696
block_device_mappings:
9797
- device_name: /dev/sda1
9898
ebs:
99-
volume_size: <%= ENV['VOLUME_SIZE'] || 17 %>
99+
volume_size: <%= ENV['VOLUME_SIZE'] || 25 %>
100100
volume_type: gp2
101101
delete_on_termination: true
102102
- device_name: /dev/xvdba
@@ -157,7 +157,7 @@ platforms:
157157
block_device_mappings:
158158
- device_name: /dev/sda1
159159
ebs:
160-
volume_size: <%= ENV['VOLUME_SIZE'] || 17 %>
160+
volume_size: <%= ENV['VOLUME_SIZE'] || 25 %>
161161
volume_type: gp2
162162
delete_on_termination: true
163163
- device_name: /dev/xvdba
@@ -211,14 +211,14 @@ platforms:
211211
transport:
212212
username: centos
213213
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
214-
- name: ubuntu-14-04-lts
214+
- name: ubuntu-16-04-lts
215215
driver_plugin: ec2
216216
driver_config:
217-
image_id: <%= ENV['UBUNTU1404_IMAGE_ID'] || "ami-c29e1cb8" %>
217+
image_id: <%= ENV['UBUNTU1604_IMAGE_ID'] || "ami-aa2ea6d0" %>
218218
block_device_mappings:
219219
- device_name: /dev/sda1
220220
ebs:
221-
volume_size: <%= ENV['VOLUME_SIZE'] || 17 %>
221+
volume_size: <%= ENV['VOLUME_SIZE'] || 25 %>
222222
volume_type: gp2
223223
delete_on_termination: true
224224
- device_name: /dev/xvdba
@@ -272,14 +272,14 @@ platforms:
272272
transport:
273273
username: ubuntu
274274
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
275-
- name: ubuntu-16-04-lts
275+
- name: ubuntu-18-04-lts
276276
driver_plugin: ec2
277277
driver_config:
278-
image_id: <%= ENV['UBUNTU1604_IMAGE_ID'] || "ami-aa2ea6d0" %>
278+
image_id: <%= ENV['UBUNTU1804_IMAGE_ID'] || "ami-05ecb1463f8f1ee4b" %>
279279
block_device_mappings:
280280
- device_name: /dev/sda1
281281
ebs:
282-
volume_size: <%= ENV['VOLUME_SIZE'] || 17 %>
282+
volume_size: <%= ENV['VOLUME_SIZE'] || 25 %>
283283
volume_type: gp2
284284
delete_on_termination: true
285285
- device_name: /dev/xvdba

.travis.yml

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,36 @@
1-
language: ruby
2-
rvm:
3-
- 2.4.0
4-
before_install:
5-
- wget https://releases.hashicorp.com/vagrant/2.0.0/vagrant_2.0.0_x86_64.deb
6-
- sudo dpkg -i vagrant_2.0.0_x86_64.deb
7-
install: bundle install --without aws
8-
script: bundle exec rake
1+
matrix:
2+
include:
3+
- language: ruby
4+
rvm:
5+
- 2.4.0
6+
before_install:
7+
- wget https://releases.hashicorp.com/vagrant/2.0.0/vagrant_2.0.0_x86_64.deb
8+
- sudo dpkg -i vagrant_2.0.0_x86_64.deb
9+
install: bundle install --without aws
10+
script: bundle exec rake
11+
12+
- language: python
13+
sudo: required
14+
dist: xenial
15+
python: "3.6"
16+
install:
17+
- pip install tox-travis
18+
script: tox
19+
20+
- language: python
21+
sudo: required
22+
dist: xenial
23+
python: "3.7"
24+
install:
25+
- pip install tox-travis
26+
script: tox
27+
28+
- language: python
29+
sudo: required
30+
dist: xenial
31+
python: "3.7"
32+
name: Python Code Checks
33+
env: TOXENV=code-linters
34+
install:
35+
- pip install tox-travis
36+
script: tox

Berksfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
source 'https://supermarket.chef.io'
24

35
metadata

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,43 @@ aws-parallelcluster-cookbook CHANGELOG
33

44
This file is used to list changes made in each version of the AWS ParallelCluster cookbook.
55

6+
2.5.0
7+
-----
8+
9+
**ENHANCEMENTS**
10+
- Install NICE DCV on Centos 7 (this includes Gnome and Xorg packages).
11+
- Install Intel Parallel Studio 2019.5 Runtime in Centos 7 AMI and share /opt/intel over NFS.
12+
- Add support for Ubuntu 18.
13+
14+
**CHANGES**
15+
- Remove support for Ubuntu 14.
16+
- Upgrade Intel MPI to version U5.
17+
- Upgrade EFA Installer to version 1.6.2, this also upgrades Open MPI to 4.0.2.
18+
- Upgrade NVIDIA driver to Tesla version 418.87.
19+
- Upgrade CUDA library to version 10.1.
20+
- Upgrade Slurm to version 19.05.3-2.
21+
- Slurm: changed following parameters in global configuration:
22+
- `SelectType=cons_tres`, `SelectTypeParameter=CR_CPU_Memory`, `GresTypes=gpu`: needed to enable support for GPU
23+
scheduling.
24+
- `EnforcePartLimits=ALL`: jobs which exceed a partition's size and/or time limits will be rejected at submission
25+
time.
26+
- Removed `FastSchedule` since deprecated.
27+
- `SlurmdTimeout=180`, `UnkillableStepTimeout=180`: to allow scheduler to recover especially when under heavy load.
28+
- Echo compute instance type and memory information in COMPUTE_READY message
29+
- Changes to sshd config:
30+
- Disable X11Forwarding by default
31+
- Limit SSH Ciphers to
32+
`aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]`
33+
- Limit SSH MACs to `[email protected],[email protected],hmac-sha2-512,hmac-sha2-256`
34+
- Increase default root volume to 25GB.
35+
- Enable `flock user_xattr noatime` Lustre options by default everywhere and
36+
`x-systemd.automount x-systemd.requires=lnet.service` for systemd based systems.
37+
- Install EFA in China AMIs.
38+
39+
**BUG FIXES**
40+
- Fix Ganglia not starting on Ubuntu 16
41+
- Fix bug that was preventing nodes to mount partitioned EBS volumes.
42+
643
2.4.1
744
-----
845

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
source 'https://rubygems.org'
24

35
gem 'berkshelf'

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env rake
2+
# frozen_string_literal: true
23

34
# chefspec task against spec/*_spec.rb
45
require 'rspec/core/rake_task'

amis/build_ami.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# AMI IDs from this region. Moreover, the CentOs AMIs are private to the AWS ParallelCluster account.
1313
#
1414
# Usage: build_ami.sh --os <os> --region <region> --partition <partition> [--public] [--custom] [--build-date <build-date>]
15-
# os: the os to build (supported values: all|centos6|centos7|alinux|ubuntu1404|ubuntu1604)
15+
# os: the os to build (supported values: all|centos6|centos7|alinux|ubuntu1604)
1616
# partition: partition to build in (supported values: commercial|govcloud|china)
1717
# region: region to copy ami too (supported values: all|us-east-1|us-gov-west-1|...)
1818
# custom: specifies to create the AMI from a custom AMI-id, which must be specified by variable CUSTOM_AMI_ID in the environment (optional)
@@ -101,7 +101,7 @@ parse_options() {
101101
check_options() {
102102
set -e
103103

104-
available_os="centos6 centos7 alinux ubuntu1404 ubuntu1604"
104+
available_os="centos6 centos7 alinux ubuntu1604 ubuntu1804"
105105
cwd="$(dirname $0)"
106106
tmp_dir=$(mktemp -d)
107107
export VENDOR_PATH="${tmp_dir}/vendor/cookbooks"
@@ -171,7 +171,7 @@ do_command() {
171171
RC=$?
172172
done
173173
;;
174-
centos6|centos7|alinux|ubuntu1404|ubuntu1604)
174+
centos6|centos7|alinux|ubuntu1604|ubuntu1804)
175175
packer build -color=false -var-file="${cwd}/packer_variables.json" -only=${only} "${cwd}/packer_${_os}.json"
176176
RC=$?
177177
;;

0 commit comments

Comments
 (0)