Skip to content

Commit

Permalink
Fix mock_compute shared storage recipes
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
enrico-usai committed Jun 29, 2023
1 parent b27ac94 commit 9ad85e7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ suites:
cluster:
node_type: ComputeFleet
ebs_shared_dirs: ebs1,ebs2
nfs:
hard_mount_options: hard,_netdev,noatime
head_node_private_ip: '127.0.0.1'
- name: raid_compute
run_list:
Expand All @@ -64,8 +62,6 @@ suites:
cluster:
node_type: ComputeFleet
raid_shared_dir: raid1
nfs:
hard_mount_options: hard,_netdev,noatime
head_node_private_ip: '127.0.0.1'
- name: shared_storages_compute
run_list:
Expand All @@ -80,8 +76,6 @@ suites:
- recipe:aws-parallelcluster-environment::mock_compute_shared_storages
cluster:
node_type: ComputeFleet
nfs:
hard_mount_options: hard,_netdev,noatime
head_node_private_ip: '127.0.0.1'
- name: directory_service
# FIXME: breaks on Docker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
nfs_export dir do
network '127.0.0.1/32'
writeable true
options node['cluster']['nfs']['hard_mount_options'].split(",")
options ['no_root_squash']
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
nfs_export dir do
network '127.0.0.1/32'
writeable true
options node['cluster']['nfs']['hard_mount_options'].split(",")
options ['no_root_squash']
end
end

0 comments on commit 9ad85e7

Please sign in to comment.