From 1494192e5ab2623a1dfde8c147daf12418ed0878 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 8 Jul 2025 14:26:29 +0200 Subject: [PATCH 1/2] Add s-nail package This includes the /usr/bin/mail command, which is required for Slurm to send email notifications [1]. [1] https://slurm.schedmd.com/slurm.conf.html#OPT_MailProg --- docs/operations.md | 1 + environments/common/inventory/group_vars/all/defaults.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/operations.md b/docs/operations.md index 7d5d24a44..4f7bc5cfb 100644 --- a/docs/operations.md +++ b/docs/operations.md @@ -74,6 +74,7 @@ By default, the following utility packages are installed during the StackHPC ima - postfix - git - latest python version for system (3.6 for for Rocky 8.9 and 3.12 for Rocky 9.4) +- s-nail Additional packages can be added during image builds by: - adding the `extra_packages` group to the build `inventory_groups` (see diff --git a/environments/common/inventory/group_vars/all/defaults.yml b/environments/common/inventory/group_vars/all/defaults.yml index 1af2b36e5..8d629ff6d 100644 --- a/environments/common/inventory/group_vars/all/defaults.yml +++ b/environments/common/inventory/group_vars/all/defaults.yml @@ -94,6 +94,7 @@ appliances_extra_packages_default: - postfix - git - "{{ 'python36' if ansible_distribution_version == '8.9' else 'python312' }}" + - s-nail appliances_extra_packages_other: [] From 8ec28120d1a3b17ed15a89cecc266abefe7c7edf Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 8 Jul 2025 19:19:13 +0200 Subject: [PATCH 2/2] Bump CI image for s-nail package --- environments/.stackhpc/tofu/cluster_image.auto.tfvars.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/environments/.stackhpc/tofu/cluster_image.auto.tfvars.json b/environments/.stackhpc/tofu/cluster_image.auto.tfvars.json index dec31368a..03b092564 100644 --- a/environments/.stackhpc/tofu/cluster_image.auto.tfvars.json +++ b/environments/.stackhpc/tofu/cluster_image.auto.tfvars.json @@ -1,6 +1,6 @@ { "cluster_image": { - "RL8": "openhpc-RL8-250704-1445-ff88ca4e", - "RL9": "openhpc-RL9-250704-1445-ff88ca4e" + "RL8": "openhpc-RL8-250708-1502-1494192e", + "RL9": "openhpc-RL9-250708-1547-1494192e" } }