diff options
| author | TBExtent <jed@stackhpc.com> | 2026-06-15 13:15:21 +0100 |
|---|---|---|
| committer | Jed Preist <jed@stackhpc.com> | 2026-06-18 13:34:04 +0000 |
| commit | b3f7c6c5b4154aa6fc903fafac2641235fdd9ee8 (patch) | |
| tree | f98e2f26c67bb8408b443ae6a1f308a59b878a9e | |
| parent | 42f4a33519cddfe20c6c25ed382cef0a90c66b06 (diff) | |
| download | kolla-ansible-b3f7c6c5b4154aa6fc903fafac2641235fdd9ee8.tar.gz kolla-ansible-b3f7c6c5b4154aa6fc903fafac2641235fdd9ee8.zip | |
Set Ironic tempdir
Set the Ironic tempdir to be within the Ironic Docker container
volume.
Closes-Bug: #2156758
Change-Id: Ib24a04657f297ebb323686aa1d80f9bf019f44f2
Signed-off-by: Jed Preist <jed@stackhpc.com>
(cherry picked from commit ba5d4219749099cb7a797deb77685c5293fb9bf5)
| -rw-r--r-- | ansible/roles/ironic/templates/ironic-conductor.json.j2 | 7 | ||||
| -rw-r--r-- | ansible/roles/ironic/templates/ironic.conf.j2 | 2 | ||||
| -rw-r--r-- | releasenotes/notes/fix-bug-2156758-e536b254fdd3fd32.yaml | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/ansible/roles/ironic/templates/ironic-conductor.json.j2 b/ansible/roles/ironic/templates/ironic-conductor.json.j2 index e66ccc03b..a69332e47 100644 --- a/ansible/roles/ironic/templates/ironic-conductor.json.j2 +++ b/ansible/roles/ironic/templates/ironic-conductor.json.j2 @@ -36,5 +36,12 @@ "owner": "ironic:ironic", "recurse": true }{% endif %} + ], + "directories": [ + { + "path": "/var/lib/ironic/tmp", + "owner": "ironic:ironic", + "perm": "0700" + } ] } diff --git a/ansible/roles/ironic/templates/ironic.conf.j2 b/ansible/roles/ironic/templates/ironic.conf.j2 index 9cc4fd78e..97dc69d39 100644 --- a/ansible/roles/ironic/templates/ironic.conf.j2 +++ b/ansible/roles/ironic/templates/ironic.conf.j2 @@ -4,6 +4,8 @@ auth_strategy = noauth {% endif %} debug = {{ ironic_logging_debug }} +tempdir = /var/lib/ironic/tmp + log_file = /var/log/kolla/ironic/{{ service_name }}.log transport_url = {{ rpc_transport_url }} diff --git a/releasenotes/notes/fix-bug-2156758-e536b254fdd3fd32.yaml b/releasenotes/notes/fix-bug-2156758-e536b254fdd3fd32.yaml new file mode 100644 index 000000000..a71d9c161 --- /dev/null +++ b/releasenotes/notes/fix-bug-2156758-e536b254fdd3fd32.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes the Ironic temp directory causing invalid cross device links when + deploying baremetal images using the virtualmedia boot interface. |
