stackhpc / ansible-slurm-appliance

A Slurm-based HPC workload management environment, driven by Ansible.
51 stars 26 forks source link

Allow creating tofu-controlled compute volumes #452

Open sjpb opened 1 month ago

sjpb commented 1 month ago

Adds "volumes" key to compute module to define optional tofu-controlled volumes attached to compute nodes. Useful for simulating additional disks present in baremetal instances using virtualized instances.

TODO: test that, at least with no volumes actually defined, changing the image results in a "update" (i.e. rebuild) not delete/recreate. A delete/recreate is acceptable when:

wtripp180901 commented 3 weeks ago

Warning: updating images for compute nodes currently forces them to be destroyed and replaced as the uuid of their block devices changes, even if no volumes are defined for them