Skip to content

Commit 4359781

Browse files
committed
One fsx will do
1 parent 645e67a commit 4359781

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

hpc_provisioner/src/hpc_provisioner/config-dev/compute_cluster.tpl.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ SharedStorage:
2828
MountDir: /sbo/home
2929
EfsSettings:
3030
FileSystemId: !config efs_id
31-
- !config projects_fsx
32-
- !config scratch_fsx
31+
- !config fsx

hpc_provisioner/src/hpc_provisioner/config/compute_cluster.tpl.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ SharedStorage:
2828
MountDir: /sbo/home
2929
EfsSettings:
3030
FileSystemId: !config efs_id
31-
- !config projects_fsx
32-
- !config scratch_fsx
31+
- !config fsx

hpc_provisioner/src/hpc_provisioner/pcluster_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,14 +244,14 @@ def pcluster_create(cluster: Cluster, filesystems: list):
244244
)
245245
if not fs:
246246
raise RuntimeError(f"Filesystem {filesystem} not created when it should have been")
247-
CONFIG_VALUES[f"{filesystem['name']}_fsx"] = {
247+
CONFIG_VALUES["fsx"] = {
248248
"Name": filesystem["name"],
249249
"StorageType": "FsxLustre",
250250
"MountDir": filesystem["mountpoint"],
251251
"FsxLustreSettings": {"FileSystemId": fs["FileSystemId"]},
252252
}
253253
else:
254-
CONFIG_VALUES[f"{filesystem['name']}_fsx"] = {}
254+
CONFIG_VALUES["fsx"] = {}
255255

256256
pcluster_config = load_pcluster_config(cluster.dev)
257257
if not cluster.include_lustre:

0 commit comments

Comments
 (0)