Hello Ankele, The IPA_SOURCE_DIR variable is used to set the location of the ironic-python-agent source code that will be installed in the ironic-python-agent tinycore-based image (tinyipa). It defaults to /opt/stack/ironic-python-agent but you can use any other dir as far as you set the correct path in the environment variable. You need to have that populated before trying to build the image. FYI tinyipa is a test-oriented image thought specifically to be used in CI, and should not be used in production environments. If you need an image suited for production on real hardware, I suggest to build one based on diskimage-builder https://docs.openstack.org/ironic-python-agent-builder/latest/admin/dib.html Cheers, Riccardo On Mon, Dec 28, 2020 at 4:59 PM Ankele zhang <ankelezhang@gmail.com> wrote:
Hi~ I have an OpenStack platform in Rocky version. I use ironic-python-agent-builder to build a tinyipa image to customing HardwareManager for 'RAID configuration' in Ironic cleaning steps. While I follow the steps ' https://docs.openstack.org/ironic-python-agent-builder/latest/admin/tinyipa....' to build tinyipa image, it occurs error as following:
[image: image.png]
[image: image.png]
so, what the IPA_SOURCE_DIR means? Do I need to download the source code of the ironic-python-agent and copy it to /opt/stack/ before this?
Looking forward to your reply.
Ankele