Skip to content

Commit cb21e9c

Browse files
committed
leave compute-init turned on in everything template
1 parent 7babc21 commit cb21e9c

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

docs/experimental/compute-init.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,22 @@ TODO: describe current status.
77
To develop/debug this without actually having to build an image:
88

99

10-
1. Add the compute nodes into the `compute_init` group:
11-
12-
cat <<EOF >> $APPLIANCES_ENVIRONMENT_ROOT/inventory/extra_groups
13-
[compute_init:children]
14-
compute
15-
EOF
16-
17-
2. Deploy a cluster using tofu and ansible/site.yml as normal. This will
10+
1. Deploy a cluster using tofu and ansible/site.yml as normal. This will
1811
additionally configure the control node to export compute hosts over NFS.
1912
Check the cluster is up.
2013

21-
3. Reimage the compute nodes:
14+
2. Reimage the compute nodes:
2215

2316
ansible-playbook --limit compute ansible/adhoc/rebuild
2417

25-
4. Add metadata to a compute node e.g. via Horzon to turn on compute-init
18+
3. Add metadata to a compute node e.g. via Horzon to turn on compute-init
2619
playbook functionality.
2720

28-
5. Fake an image build to deploy the compute-init playbook:
21+
4. Fake an image build to deploy the compute-init playbook:
2922

3023
ansible-playbook ansible/fatimage.yml --tags compute_init
3124

32-
6. Fake a reimage of compute to run ansible-init and the compute-init playbook:
25+
5. Fake a reimage of compute to run ansible-init and the compute-init playbook:
3326

3427
On compute node where metadata was added:
3528

@@ -38,7 +31,7 @@ To develop/debug this without actually having to build an image:
3831

3932
Use `systemctl status ansible-init` to view stdout/stderr from Ansible.
4033

41-
Steps 5/6 can be repeated with changes to the compute script. If desirable
34+
Steps 4/5 can be repeated with changes to the compute script. If desirable
4235
reimage the compute node(s) first as in step 3.
4336

4437
# Results/progress

environments/common/inventory/groups

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ freeipa_client
137137
# Hosts to run linux-anisble-init
138138

139139
[compute_init]
140-
# Hosts to deploy compute initialisation ansible-init script to.
140+
# EXPERIMENTAL: Compute hosts to enable joining cluster on boot on
141141

142142
[k3s]
143143
# Hosts to run k3s server/agent

environments/common/layouts/everything

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ cluster
8484

8585
[compute_init:children]
8686
# EXPERIMENTAL: Compute hosts to enable joining cluster on boot on
87-
# TODO: actually should be empty for now
8887
compute
8988

9089
[k3s:children]

0 commit comments

Comments
 (0)