@@ -7,29 +7,22 @@ TODO: describe current status.
7
7
To develop/debug this without actually having to build an image:
8
8
9
9
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
18
11
additionally configure the control node to export compute hosts over NFS.
19
12
Check the cluster is up.
20
13
21
- 3 . Reimage the compute nodes:
14
+ 2 . Reimage the compute nodes:
22
15
23
16
ansible-playbook --limit compute ansible/adhoc/rebuild
24
17
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
26
19
playbook functionality.
27
20
28
- 5 . Fake an image build to deploy the compute-init playbook:
21
+ 4 . Fake an image build to deploy the compute-init playbook:
29
22
30
23
ansible-playbook ansible/fatimage.yml --tags compute_init
31
24
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:
33
26
34
27
On compute node where metadata was added:
35
28
@@ -38,7 +31,7 @@ To develop/debug this without actually having to build an image:
38
31
39
32
Use ` systemctl status ansible-init ` to view stdout/stderr from Ansible.
40
33
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
42
35
reimage the compute node(s) first as in step 3.
43
36
44
37
# Results/progress
0 commit comments