@@ -76,12 +76,12 @@ and referenced from the `site` and `production` environments, e.g.:
7676 instances) it may be necessary to configure or proxy `chronyd` via an
7777 environment hook.
7878
79- - By default, the cookiecutter provided OpenTofu configurations provision
80- a volume named "$cluster_name-state " and attach it to the control node. This
81- is used to persist monitoring and Slurm data when the control node is re-built.
82- In production environments (and probably staging) it is undesirable to have
83- this volume deleted if the cluster is deleted. Therefore the volume should be
84- manually created, e.g. via the CLI:
79+ - By default, the cookiecutter- provided OpenTofu configuration provisions a
80+ volume named "$cluster_name-home " and attaches it to the control node. This
81+ is used to persist the NFS-shared home directories when the control node is
82+ re-built. In production environments it is undesirable to have this volume
83+ deleted if the cluster is deleted. Therefore the volume should be manually
84+ created, e.g. via the CLI:
8585
8686 openstack volume create --size 100 mycluster-home # size in GB
8787
@@ -108,6 +108,19 @@ and referenced from the `site` and `production` environments, e.g.:
108108 home_volume_provisioning = "none"
109109
110110 In this case the NFS share for home directories is automatically disabled.
111+
112+ - By default, the cookiecutter-provided OpenTofu configuration provisions a
113+ volume named "$cluster_name-state" and attaches it to the control node. This
114+ is used to persist monitoring and Slurm data when the control node is re-built.
115+ In production and staging environments it is undesirable to have this volume
116+ deleted if the cluster is deleted. Therefore the volume should be manually
117+ created, e.g. via the CLI:
118+
119+ openstack volume create --size 100 mycluster-state # size in GB
120+
121+ and the `openstack_blockstorage_volume_v3.state` resource changed to a [data
122+ resource](https://opentofu.org/docs/language/data-sources/). This ensures
123+ that even if the cluster is deleted via `tofu destroy`, the volume will persist.
111124
112125- Enable `etc_hosts` templating:
113126
0 commit comments