<div dir="ltr">Hello Ankele,<div><br></div><div>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).<br>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.<br>You need to have that populated before trying to build the image.<br>FYI tinyipa is a test-oriented image thought specifically to be used in CI, and should not be used in production environments.<br>If you need an image suited for production on real hardware, I suggest to build one based on diskimage-builder <a href="https://docs.openstack.org/ironic-python-agent-builder/latest/admin/dib.html">https://docs.openstack.org/ironic-python-agent-builder/latest/admin/dib.html</a></div><div><br>Cheers,<br><br>Riccardo<br><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 28, 2020 at 4:59 PM Ankele zhang <<a href="mailto:ankelezhang@gmail.com">ankelezhang@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi~<div>I have an OpenStack platform in Rocky version.<br><div>I use ironic-python-agent-builder to build a tinyipa image to customing HardwareManager for 'RAID configuration' in Ironic cleaning steps.<br><div>While I follow the steps '<a href="https://docs.openstack.org/ironic-python-agent-builder/latest/admin/tinyipa.html#building-ramdisk" target="_blank">https://docs.openstack.org/ironic-python-agent-builder/latest/admin/tinyipa.html#building-ramdisk</a>' to build tinyipa image, it occurs error as following:</div><div><br></div><div><img src="cid:ii_kj84qp4e1" alt="image.png" width="542" height="119"><br></div><div><br></div><div><img src="cid:ii_kj84gckm0" alt="image.png" width="542" height="91"><br></div><div><br></div><div>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?</div><div><br></div><div>Looking forward to your reply.</div><div><br></div><div>Ankele</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div>
</blockquote></div>