@@ -7,29 +7,22 @@ TODO: describe current status.
77To 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
4235reimage the compute node(s) first as in step 3.
4336
4437# Results/progress
0 commit comments