<div dir="ltr"><div>ironic-python-agent-builder is a small wrapper around diskimage-builder -- you can check diskimage-builder documentation for how to setup support.</div><div><br></div><div>If you're using a redhat-like distribution, you can likely use the existing redhat distro support element to try and make it work for your similar distribution.</div><div><br></div><div>Good luck,</div><div>Jay <br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 19, 2023 at 5:22 AM 韩光宇 <<a href="mailto:hanguangyu2@gmail.com">hanguangyu2@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">Hi,<br>
<br>
The OS which we want to mirror the randisk for is not supported by<br>
ironic-python-agent-builder and diskimage-builder.(It references<br>
Fedora and CentOS a lot for the rpm packages building. So somewhat it<br>
can be treated as a redhat family distro)<br>
<br>
So we need to compare the workload of manual production or adding new<br>
OS support for ironic-python-agent-builder. We are new to this field,<br>
is there any recommended reference for making manual ramdisk(possible<br>
interim measures) or adding os support for<br>
ironic-python-agent-builder(Definitely a better solution in the long<br>
run)<br>
<br>
Appreciate any kind of guidance or help.<br>
<br>
Han<br>
<br>
Jay Faulkner <<a href="mailto:jay@gr-oss.io" target="_blank">jay@gr-oss.io</a>> 于2023年2月18日周六 02:28写道:<br>
><br>
> Hey,<br>
><br>
> I strongly suggest using ironic-python-agent-builder to create your ramdisks and then mirror them separately. Customizing the image comes with several benefits:<br>
> * Ability to customize cleaning of bespoke hardware using hardware managers + custom tooling <a href="https://docs.openstack.org/ironic-python-agent/latest/contributor/hardware_managers.html" rel="noreferrer" target="_blank">https://docs.openstack.org/ironic-python-agent/latest/contributor/hardware_managers.html</a><br>
> * Ability to choose the distribution you use (note: we only test a couple in CI)<br>
> * Ability to add in extra pieces specific to your environment, such as credentials. I've even been in a case where I needed to inject an iptables configuration in order to receive security approval for a deployment.<br>
><br>
> There is a giant downside to building your own images: the images in the linked locations in <a href="http://tarballs.opendev.org" rel="noreferrer" target="_blank">tarballs.opendev.org</a> are only published when those specific commits were passing CI. This gives you a stronger behavior guarantee than you get when you build your own.<br>
><br>
> As for mirroring; our opendev partners may have anintegration they might offer but frankly, if I were doing it myself, I'd probably use a tool such as httrack to sync the files down periodically.<br>
><br>
> Good luck, let me know if you have any additional questions.<br>
><br>
> -<br>
> Jay Faulkner<br>
> Ironic PTL<br>
><br>
> On Fri, Feb 17, 2023 at 9:56 AM 任亮 <<a href="mailto:renliang@uniontech.com" target="_blank">renliang@uniontech.com</a>> wrote:<br>
>><br>
>> Hi<br>
>><br>
>> The.kernel and.initramfs images contained in ramdisk are used to use bare metal services.<br>
>> The open source address provides centos ramdisk mirroring.<br>
>> <a href="https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/" rel="noreferrer" target="_blank">https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/</a><br>
>> <a href="https://tarballs.opendev.org/openstack/ironic-python-agent-builder/dib/files/" rel="noreferrer" target="_blank">https://tarballs.opendev.org/openstack/ironic-python-agent-builder/dib/files/</a><br>
>><br>
>> I want to build our own ramdisk mirror, and I would like to ask whether there is a way to manually make ramdisk mirror. If so, how to add the ironic python agent service to it? Or use the ironic-python-agent-builder tool to support other system construction methods.<br>
>> ________________________________<br>
>> 发自我的企业微信<br>
>><br>
>><br>
</blockquote></div>