Skip to content

Commit 971728b

Browse files
authored
Fix appliances_extra_packages_default missing stackhpc fatimage (#856)
* fix extra_packages not in released fatimages eg htop is not in the 2.7 image openhpc-RL9-250925-1639-62d67ae3. * doc/image-build.md: rephrase PKR_VAR_environment_root because we don't show it anymore * Bump CI image Workflow: https://github.com/stackhpc/ansible-slurm-appliance/actions/runs/20095164635
1 parent 406d94b commit 971728b

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

docs/image-build.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ In summary, Packer creates an OpenStack VM, runs Ansible on that, shuts it down,
150150

151151
Many of the Packer variables defined in `openstack.pkr.hcl` control the definition of the build VM and how to SSH to it to run Ansible. These are generic OpenStack builder options
152152
and are not specific to the Slurm Appliance. Packer variables can be set in a file at any convenient path; the build example above
153-
shows the use of the environment variable `$PKR_VAR_environment_root` (which itself sets the Packer variable
154-
`environment_root`) to automatically select a variable file from the current environment, but for site-specific builds
155-
using a path in a "parent" environment is likely to be more appropriate (as builds should not be environment-specific to allow testing before deployment to a production environment).
153+
shows the use of a path in the **site** environment. This is the most appropriate as builds should be tested in **dev** or **staging** before deployment to a production environment.
154+
155+
During stackhpc CI image builds, the environment variable `$PKR_VAR_environment_root` (which itself sets the Packer variable
156+
`environment_root`) is used to automatically select a variable file from the current environment; see `.github/workflows/fatimage.yml`.
156157

157158
What is Slurm Appliance-specific are the details of how Ansible is run:
158159

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"cluster_image": {
3-
"RL8": "openhpc-RL8-251119-1833-cb477455",
4-
"RL9": "openhpc-RL9-251119-1834-cb477455"
3+
"RL8": "openhpc-RL8-251210-1021-42a63cab",
4+
"RL9": "openhpc-RL9-251210-1020-42a63cab"
55
}
66
}

environments/site/inventory/groups

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,9 @@ fatimage
161161
[lustre]
162162
# Hosts to run lustre client
163163

164-
[extra_packages]
165-
# Hosts to install specified additional packages on
164+
[extra_packages:children]
165+
# Groups to install specified additional packages on
166+
fatimage
166167

167168
[dnf_repos:children]
168169
# Hosts to replace system repos with Pulp repos

0 commit comments

Comments
 (0)