Skip to content

Commit a000341

Browse files
Fix PR 4798 comments
- use "use" in sycomp-storage-slurm instead of defining "network_storage" - Put the four blueprint examples related to sycomp into the exclude list of unittest
1 parent f811b07 commit a000341

5 files changed

Lines changed: 10 additions & 12 deletions

File tree

community/examples/sycomp/sycomp-storage-ece.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ deployment_groups:
4141
allowed_ssh_ip_ranges: []
4242

4343
- id: sycomp-scale-gcp
44-
source: "git::https://gitlab.com/sycomp/cluster-toolkit.git//sycomp-scale?ref=v1.0.0"
44+
source: "git::https://gitlab.com/sycomp/cluster-toolkit.git//sycomp-scale?ref=main"
4545
use: [network1]
4646
settings:
4747
security:

community/examples/sycomp/sycomp-storage-expansion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ deployment_groups:
3131
modules:
3232

3333
- id: sycomp-scale-expansion
34-
source: "git::https://gitlab.com/sycomp/cluster-toolkit.git//sycomp-scale-expansion?ref=v1.0.0"
34+
source: "git::https://gitlab.com/sycomp/cluster-toolkit.git//sycomp-scale-expansion?ref=main"
3535
settings:
3636
name_prefix: "<name_prefix_of_existing_cluster>" ## Set to the name_prefix of the cluster to expand. See the README for details on how this value is determined.
3737
add_scale_nodes: 1 ## Number of storage nodes to add, This value is configurable.

community/examples/sycomp/sycomp-storage-slurm.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ deployment_groups:
4242
allowed_ssh_ip_ranges: []
4343

4444
- id: sycomp-scale-gcp
45-
source: "git::https://gitlab.com/sycomp/cluster-toolkit.git//sycomp-scale?ref=v1.0.0"
45+
source: "git::https://gitlab.com/sycomp/cluster-toolkit.git//sycomp-scale?ref=main"
4646
use: [network1]
4747
settings:
4848
security:
@@ -69,7 +69,7 @@ deployment_groups:
6969
nfs_exports:
7070
- path: $(vars.nfs_dir)
7171
clients:
72-
- no_root_squash: false ## Enable root squashing (secure default). Set to true to disable.
72+
- no_root_squash: true ## Disable root squashing. Set to false to enable(secure default).
7373

7474
## Set up slurm cluster and configure NFS client
7575
- id: compute_nodeset
@@ -101,12 +101,6 @@ deployment_groups:
101101
- network1
102102
- compute_partition
103103
- slurm_login
104+
- sycomp-scale-gcp
104105
settings:
105106
enable_controller_public_ips: true
106-
network_storage:
107-
## Setup NFS client to mount sycomp storage NFS server
108-
- server_ip: $(sycomp-scale-gcp.nfs_server.dns_name)
109-
remote_mount: $(vars.nfs_dir)
110-
mount_options: "vers=4,nconnect=16,rsize=1048576,wsize=1048576"
111-
local_mount: "/nfs/sycomp"
112-
fs_type: nfs

community/examples/sycomp/sycomp-storage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ deployment_groups:
4141
allowed_ssh_ip_ranges: []
4242

4343
- id: sycomp-scale-gcp
44-
source: "git::https://gitlab.com/sycomp/cluster-toolkit.git//sycomp-scale?ref=v1.0.0"
44+
source: "git::https://gitlab.com/sycomp/cluster-toolkit.git//sycomp-scale?ref=main"
4545
use: [network1]
4646
settings:
4747
security:

tools/validate_configs/validate_configs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ CONFIGS=$(find examples/ community/examples/ tools/validate_configs/test_configs
124124
# Exclude blueprints that use v5 modules.
125125
declare -A EXCLUDE_EXAMPLE
126126
EXCLUDE_EXAMPLE["tools/validate_configs/test_configs/two-clusters-sql.yaml"]=
127+
EXCLUDE_EXAMPLE["community/examples/sycomp/sycomp-storage.yaml"]=
128+
EXCLUDE_EXAMPLE["community/examples/sycomp/sycomp-storage-ece.yaml"]=
129+
EXCLUDE_EXAMPLE["community/examples/sycomp/sycomp-storage-slurm.yaml"]=
130+
EXCLUDE_EXAMPLE["community/examples/sycomp/sycomp-storage-expansion.yaml"]=
127131

128132
cwd=$(pwd)
129133
NPROCS=${NPROCS:-$(nproc)}

0 commit comments

Comments
 (0)