Skip to content

Commit b049b90

Browse files
francesco-giordanodemartinofra
authored andcommitted
Force synchronous execution of setup-ephemeral-drives.sh
1 parent 5fc7e70 commit b049b90

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ This file is used to list changes made in each version of the AWS ParallelCluste
77
------
88

99
**BUG FIXES**
10-
- Fix update of `/etc/hosts` files for clusters deployed in VPC without internet access.
10+
- Fix update of `/etc/hosts` files for clusters deployed in VPC without internet access.
11+
- Wait for ephemeral drives setup before having a compute node join the scheduler.
1112

1213
3.1.0
1314
------

cookbooks/aws-parallelcluster-config/recipes/base.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@
2929

3030
service "setup-ephemeral" do
3131
supports restart: false
32-
action %i(enable start)
32+
action :enable
33+
end
34+
35+
# Execution timeout 3600 seconds
36+
execute "Setup of ephemeral drivers" do
37+
user "root"
38+
command "/usr/local/sbin/setup-ephemeral-drives.sh"
3339
end
3440

3541
# Increase somaxconn and tcp_max_syn_backlog for large scale setting

0 commit comments

Comments
 (0)