[ironic]Could I use x86 ironic to deploy arm bare metal node?
Hi, I deploy ironic in x86 env, could I use it to deploy arm bare metal node? My concern is mainly whether the files transferred in the tftp phase of PXE cannot be cross-architecture. Do I need to deploy a dedicated arm-architecture ironic-conductor node for arm-architecture bare metal nodes? Thanks
The short answer is: Yes, with the appropriate configuration and artifacts. The longer answer: You do not need to deploy a dedicated conductor node, but: 1) Your conductor configuration will need to be aware of the bootloader to utilize by architecture. See[0], look for settings ending with "by_arch". 2) These settings will need to point to the appropriate architecture bootloader, and potentially templates. GRUB has been reported to work fairly well, and a number of folks have reported utilizing iPXE. The downside is iPXE aarch64 binaries are sometimes not in every aarch64 distribution. iPXE.org does publish binaries you can at least test with if you so desire.[1] 3) You will need to create the nodes in ironic so they are labeled with their architecture. This is covered in our installation documentation[2], and can be set on the command line[3] with the key value of "cpu_arch". If you run into any weird issues, please reply to the mailing list. I know some of the Ironic operators who run large arm hardware labs are on this mailing list, and may be able to offer additional insight if needed. -Julia [0]: https://docs.openstack.org/ironic/latest/configuration/sample-config.html [1]: https://boot.ipxe.org/arm64-efi/ [2]: https://files.openstack.org/docs/ironic/victoria/install/configure-pxe.html#... [3]: https://docs.openstack.org/python-ironicclient/latest/cli/osc/v1/index.html#... On Thu, Feb 2, 2023 at 8:35 AM 韩光宇 <hanguangyu2@gmail.com> wrote:
Hi,
I deploy ironic in x86 env, could I use it to deploy arm bare metal node?
My concern is mainly whether the files transferred in the tftp phase of PXE cannot be cross-architecture.
Do I need to deploy a dedicated arm-architecture ironic-conductor node for arm-architecture bare metal nodes?
Thanks
Hi! Here at CERN we do not have separate Ironic controllers for ARM, but we do not use the standard Ironic tftp setup either: we have an "Ironic external" PXE/tftp service we rely on. What you will need to make sure, though, is that you indeed serve architecture dependent files via tftp. If I remember correctly, we do this via the architecture/firmware information that is sent with the initial DHCP request, and an if statement somewhere :) (We should write a blog post with all the details, but I am happy to dig out the details on how this works before -- if you think this would be useful for you?) Cheers, Arne -- Arne Wiebalck CERN IT ________________________________________ From: 韩光宇 <hanguangyu2@gmail.com> Sent: Thursday, 2 February 2023 17:32 To: openstack-discuss Subject: [ironic]Could I use x86 ironic to deploy arm bare metal node? Hi, I deploy ironic in x86 env, could I use it to deploy arm bare metal node? My concern is mainly whether the files transferred in the tftp phase of PXE cannot be cross-architecture. Do I need to deploy a dedicated arm-architecture ironic-conductor node for arm-architecture bare metal nodes? Thanks
Arne Wiebalck <Arne.Wiebalck@cern.ch> 于2023年2月3日周五 01:05写道:
Hi!
Here at CERN we do not have separate Ironic controllers for ARM, but we do not use the standard Ironic tftp setup either: we have an "Ironic external" PXE/tftp service we rely on. What you will need to make sure, though, is that you indeed serve architecture dependent files via tftp. If I remember correctly, we do this via the architecture/firmware information that is sent with the initial DHCP request, and an if statementThank you so much. somewhere :)
(We should write a blog post with all the details, but I am happy to dig out the details on how this works before -- if you think this would be useful for you?)
Thank you so much, that would be great. But actually, I would do this follow the steps in the installation documentation[1] which were mentioned by Julia Kreger. I need to prioritize the project native content as much as possible. So this blog I can only be a reference, will not follow it completely.I don't want to waste your time, I hope you don't write because of my needs. But if you think he's useful and available for the project, as someone who doesn't know much about ironic, [1] https://files.openstack.org/docs/ironic/victoria/install/configure-pxe.html#...
Cheers, Arne
-- Arne Wiebalck CERN IT
________________________________________ From: 韩光宇 <hanguangyu2@gmail.com> Sent: Thursday, 2 February 2023 17:32 To: openstack-discuss Subject: [ironic]Could I use x86 ironic to deploy arm bare metal node?
Hi,
I deploy ironic in x86 env, could I use it to deploy arm bare metal node?
My concern is mainly whether the files transferred in the tftp phase of PXE cannot be cross-architecture.
Do I need to deploy a dedicated arm-architecture ironic-conductor node for arm-architecture bare metal nodes?
Thanks
participants (3)
-
Arne Wiebalck
-
Julia Kreger
-
韩光宇