Skip to content

Commit 032e12d

Browse files
committed
Do not remove 'parallelcluster-' prefix from stack name to get cluster name
Signed-off-by: Francesco De Martino <[email protected]>
1 parent 3694706 commit 032e12d

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ This file is used to list changes made in each version of the AWS ParallelCluste
1313
- Download dependencies of Intel HPC platform during AMI build time to avoid contacting Internet during cluster creation time.
1414
- Do not strip `-` from compute resource name when configuring Slurm nodes.
1515

16+
**BUG FIXES**
17+
- Fix issue that is preventing cluster names to start with `parallelcluster-` prefix.
18+
1619
3.0.1
1720
------
1821

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[main]
2-
cluster_name = <%= node['cluster']['stack_name'].sub("parallelcluster-", "") %>
3-
region = <%= node['cluster']['region'] %>
2+
cluster_name = <%= node['cluster']['stack_name'] %>
3+
region = <%= node['cluster']['region'] %>

cookbooks/aws-parallelcluster-slurm/templates/default/slurm/parallelcluster_clustermgtd.conf.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[clustermgtd]
2-
cluster_name = <%= node['cluster']['stack_name'].sub("parallelcluster-", "") %>
2+
cluster_name = <%= node['cluster']['stack_name'] %>
33
region = <%= node['cluster']['region'] %>
44
proxy = <%= node['cluster']['proxy'] %>
55
heartbeat_file_path = /opt/slurm/etc/pcluster/.slurm_plugin/clustermgtd_heartbeat

cookbooks/aws-parallelcluster-slurm/templates/default/slurm/parallelcluster_computemgtd.conf.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[computemgtd]
2-
cluster_name = <%= node['cluster']['stack_name'].sub("parallelcluster-", "") %>
2+
cluster_name = <%= node['cluster']['stack_name'] %>
33
region = <%= node['cluster']['region'] %>
44
proxy = <%= node['cluster']['proxy'] %>
55
clustermgtd_heartbeat_file_path = /opt/slurm/etc/pcluster/.slurm_plugin/clustermgtd_heartbeat

cookbooks/aws-parallelcluster-slurm/templates/default/slurm/parallelcluster_slurm_resume.conf.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[slurm_resume]
2-
cluster_name = <%= node['cluster']['stack_name'].sub("parallelcluster-", "") %>
2+
cluster_name = <%= node['cluster']['stack_name'] %>
33
region = <%= node['cluster']['region'] %>
44
proxy = <%= node['cluster']['proxy'] %>
55
dynamodb_table = <%= node['cluster']['ddb_table'] %>

0 commit comments

Comments
 (0)