File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed
ansible/roles/compute_init Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -182,9 +182,8 @@ jobs:
182
182
run : |
183
183
. venv/bin/activate
184
184
. environments/.stackhpc/activate
185
- ansible-playbook -v --limit compute ansible/adhoc/rebuild.yml
186
- ansible-playbook -v ansible/ci/check_slurm.yml
187
185
ansible-playbook -v ansible/adhoc/reboot_via_slurm.yml
186
+ ansible-playbook -v ansible/ci/check_slurm.yml
188
187
189
188
- name : Check sacct state survived reimage
190
189
run : |
Original file line number Diff line number Diff line change 3
3
Experimental functionality to allow compute nodes to rejoin the cluster after
4
4
a reboot without running the ` ansible/site.yml ` playbook.
5
5
6
+ ** CAUTION:** The approach used here of exporting cluster secrets over NFS
7
+ is considered to be a security risk due to the potential for cluster users to
8
+ mount the share on a user-controlled machine by tunnelling through a login
9
+ node. This feature should not be enabled on production clusters at this time.
10
+
6
11
To enable this:
7
- 1 . Add the ` compute ` group (or a subset) into the ` compute_init ` group. This is
8
- the default when using cookiecutter to create an environment, via the
9
- "everything" template.
12
+ 1 . Add the ` compute ` group (or a subset) into the ` compute_init ` group.
10
13
2 . Build an image which includes the ` compute_init ` group. This is the case
11
14
for StackHPC-built release images.
12
15
3 . Enable the required functionalities during boot, by setting the
Original file line number Diff line number Diff line change @@ -41,3 +41,6 @@ control
41
41
42
42
[cacerts:children]
43
43
cluster
44
+
45
+ [compute_init:children]
46
+ compute
Original file line number Diff line number Diff line change @@ -93,9 +93,8 @@ cluster
93
93
[sshd]
94
94
# Hosts where the OpenSSH server daemon should be configured
95
95
96
- [compute_init:children ]
96
+ [compute_init]
97
97
# EXPERIMENTAL: Compute hosts to enable joining cluster on boot on
98
- compute
99
98
100
99
[k3s:children]
101
100
# Hosts to run k3s server/agent
You can’t perform that action at this time.
0 commit comments