From a9cbafae19e25dc9063a8bade6c7f461a7632d33 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Wed, 18 Jun 2025 11:19:11 -0500 Subject: [PATCH] fix(ironic): ensure tftpboot path is created When we have ilo-ipxe and ipxe interfaces enabled, they check that the boot files exist so we need the directory to be created so the files can be copied into place. --- components/ironic/values.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/components/ironic/values.yaml b/components/ironic/values.yaml index e43a988fa..684802d5b 100644 --- a/components/ironic/values.yaml +++ b/components/ironic/values.yaml @@ -17,6 +17,20 @@ conductor: pxe: # at this time we are running our own dnsmasq container and statefulset enabled: false + initContainers: + # this can go away once we disable the ilo-ipxe and ipxe boot interfaces + # it is only necessary because the above pxe is disabled, its init + # creates this path + - name: create-tftpboot + image: docker.io/openstackhelm/heat:2024.2-ubuntu_jammy + imagePullPolicy: IfNotPresent + command: [bash] + args: + - "-c" + - "mkdir -p /var/lib/openstack-helm/tftpboot" + volumeMounts: + - name: pod-data + mountPath: /var/lib/openstack-helm labels: conductor: