Skip to content

Commit 6376744

Browse files
enrico-usairkilpadi
authored andcommitted
Fix mock_compute shared storage recipes
During the export the only accepted value is "no_root_squash". Removed useless node attribute parameters from the test. Signed-off-by: Enrico Usai <[email protected]>
1 parent 4846873 commit 6376744

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

cookbooks/aws-parallelcluster-environment/kitchen.environment-config.yml

-6
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ suites:
4747
cluster:
4848
node_type: ComputeFleet
4949
ebs_shared_dirs: ebs1,ebs2
50-
nfs:
51-
hard_mount_options: hard,_netdev,noatime
5250
head_node_private_ip: '127.0.0.1'
5351
- name: raid_compute
5452
run_list:
@@ -64,8 +62,6 @@ suites:
6462
cluster:
6563
node_type: ComputeFleet
6664
raid_shared_dir: raid1
67-
nfs:
68-
hard_mount_options: hard,_netdev,noatime
6965
head_node_private_ip: '127.0.0.1'
7066
- name: shared_storages_compute
7167
run_list:
@@ -80,8 +76,6 @@ suites:
8076
- recipe:aws-parallelcluster-environment::mock_compute_shared_storages
8177
cluster:
8278
node_type: ComputeFleet
83-
nfs:
84-
hard_mount_options: hard,_netdev,noatime
8579
head_node_private_ip: '127.0.0.1'
8680
- name: directory_service
8781
# FIXME: breaks on Docker

cookbooks/aws-parallelcluster-environment/recipes/test/mock_compute_ebs.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
nfs_export dir do
1313
network '127.0.0.1/32'
1414
writeable true
15-
options node['cluster']['nfs']['hard_mount_options'].split(",")
15+
options ['no_root_squash']
1616
end
1717
end

cookbooks/aws-parallelcluster-environment/recipes/test/mock_compute_raid.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
nfs_export dir do
1313
network '127.0.0.1/32'
1414
writeable true
15-
options node['cluster']['nfs']['hard_mount_options'].split(",")
15+
options ['no_root_squash']
1616
end
1717
end

0 commit comments

Comments
 (0)