Overcloud IPA image copied to a shared directory on Ansible control host
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
kayobe | Status tracked in Dalmatian | |||||
Caracal |
In Progress
|
Medium
|
Unassigned | |||
Dalmatian |
Fix Released
|
Medium
|
Mark Goddard |
Bug Description
When using overcloud Ironic, IPA images for Ironic inspector are downloaded to the Ansible control host to a cache directory, by default /opt/kayobe/
The use of a shared cache directory results in problems when multiple users share a single Ansible control host. For example, we may see the following failure:
TASK [Check whether the image cache directory exists] *******
Tuesday 18 June 2024 08:47:27 +0100 (0:00:00.058) 0:00:01.847 **********
ok: [controller0 -> localhost]
TASK [Ensure the image cache directory exists] *******
Tuesday 18 June 2024 08:47:27 +0100 (0:00:00.187) 0:00:02.034 **********
skipping: [controller0]
TASK [Ensure Ironic Python Agent images are copied onto the local machine] *******
Tuesday 18 June 2024 08:47:27 +0100 (0:00:00.035) 0:00:02.069 **********
fatal: [controller0]: FAILED! =>
msg: 'error while accessing the file /opt/kayobe/
We may also see issues if multiple Kayobe environments are deployed from one Ansible control host.
The cache is not strictly necessary, since we can download the images directly to the kayobe-config repo.
Changed in kayobe: | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in kayobe: | |
assignee: | nobody → Mark Goddard (mgoddard) |
Fix proposed to branch: master /review. opendev. org/c/openstack /kayobe/ +/922371
Review: https:/