Skip to content

Commit 0e3fc43

Browse files
Enrico Usaihanwen-pcluste
authored andcommitted
Remove SQS and compute_ready script references
Cherry pick of: e5d68e2 with additional changes. Signed-off-by: Enrico Usai <[email protected]>
1 parent 0f27b2b commit 0e3fc43

File tree

6 files changed

+1
-34
lines changed

6 files changed

+1
-34
lines changed

.kitchen.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ suites:
8383
cfn_ephemeral_dir: <%= ENV['CFN_EPHEMERAL_DIR'] %>
8484
cfn_shared_dir: <%= ENV['CFN_SHARED_DIR'] %>
8585
cfn_cluster_user: <%= ENV['CFN_CLUSTER_USER'] %>
86-
cfn_sqs_queue: <%= ENV['CFN_SQS_QUEUE'] %>
8786
cfn_ddb_table: <%= ENV['CFN_DDB_TABLE'] %>
8887
# cfn_base_os is one of the base OSs supported by pcluster
8988
cfn_base_os: <%= ENV['CFN_BASE_OS'] %>
@@ -118,7 +117,6 @@ suites:
118117
cfn_ephemeral_dir: <%= ENV['CFN_EPHEMERAL_DIR'] %>
119118
cfn_shared_dir: <%= ENV['CFN_SHARED_DIR'] %>
120119
cfn_cluster_user: <%= ENV['CFN_CLUSTER_USER'] %>
121-
cfn_sqs_queue: <%= ENV['CFN_SQS_QUEUE'] %>
122120
cfn_ddb_table: <%= ENV['CFN_DDB_TABLE'] %>
123121
# cfn_base_os is one of the base OSs supported by pcluster
124122
cfn_base_os: <%= ENV['CFN_BASE_OS'] %>
@@ -150,7 +148,6 @@ suites:
150148
cfn_ephemeral_dir: <%= ENV['CFN_EPHEMERAL_DIR'] %>
151149
cfn_shared_dir: <%= ENV['CFN_SHARED_DIR'] %>
152150
cfn_cluster_user: <%= ENV['CFN_CLUSTER_USER'] %>
153-
cfn_sqs_queue: <%= ENV['CFN_SQS_QUEUE'] %>
154151
cfn_master: <%= ENV['CFN_MASTER'] %>
155152
cfn_master_private_ip: <%= ENV['CFN_MASTER_PRIVATE_IP'] %>
156153
# cfn_base_os is one of the base OSs supported by pcluster

attributes/default.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@
400400
# ParallelCluster internal variables (also in /etc/parallelcluster/cfnconfig)
401401
default['cfncluster']['cfn_region'] = 'us-east-1'
402402
default['cfncluster']['stack_name'] = nil
403-
default['cfncluster']['cfn_sqs_queue'] = nil
404403
default['cfncluster']['cfn_ddb_table'] = nil
405404
default['cfncluster']['cfn_node_type'] = nil
406405
default['cfncluster']['cfn_preinstall'] = 'NONE'

recipes/finalize.rb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,5 @@
2525
when 'MasterServer'
2626
include_recipe 'aws-parallelcluster::head_node_slurm_finalize' if node['cfncluster']['cfn_scheduler'] == 'slurm'
2727
when 'ComputeFleet'
28-
if node['cfncluster']['cfn_scheduler'] == 'slurm'
29-
include_recipe 'aws-parallelcluster::compute_slurm_finalize'
30-
else
31-
execute "compute_ready" do
32-
command "/opt/parallelcluster/scripts/compute_ready"
33-
environment('PATH' => '/usr/local/bin:/usr/bin/:$PATH')
34-
end
35-
end
28+
include_recipe 'aws-parallelcluster::compute_slurm_finalize'
3629
end

recipes/prep_env.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,6 @@
6666
mode "0755"
6767
end
6868

69-
template '/opt/parallelcluster/scripts/compute_ready' do
70-
source 'compute_ready.erb'
71-
owner "root"
72-
group "root"
73-
mode "0755"
74-
end
75-
7669
include_recipe "aws-parallelcluster::setup_python"
7770

7871
# Install cloudwatch, write configuration and start it.

templates/default/cfnconfig.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ cfn_proxy=<%= node['cfncluster']['cfn_proxy'] %>
1414
cfn_node_type=<%= node['cfncluster']['cfn_node_type'] %>
1515
cfn_cluster_user=<%= node['cfncluster']['cfn_cluster_user'] %>
1616
<% if node['cfncluster']['cfn_node_type'] == 'ComputeFleet' -%>
17-
cfn_sqs_queue=<%= node['cfncluster']['cfn_sqs_queue'] %>
1817
cfn_master=<%= node['cfncluster']['cfn_master'] %>
1918
cfn_master_private_ip=<%= node['cfncluster']['cfn_master_private_ip'] %>
2019
cfn_scheduler_queue_name=<%= node['cfncluster']['scheduler_queue_name'] %>

templates/default/compute_ready.erb

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

0 commit comments

Comments
 (0)