[ironic] Is there a ramdisk image of aarch64 architecture available for download
Clark Boylan
cboylan at sapwetik.org
Sun Feb 12 23:38:43 UTC 2023
On Sun, Feb 12, 2023, at 3:05 PM, Jay Faulkner wrote:
> Hopefully someone with specific knowledge of diskimage-builder on ARM
> will respond with some help for your error.
>
> In the meantime, I added "Shipping an ARM ramdisk image" as ann item to
> our list to consider during Bobcat PTG at
> https://etherpad.opendev.org/p/ironic-bobcat-ptg.
I would expect that you could make variants of ironic-python-agent-build-image-tinyipa and ironic-python-agent-build-image-dib-centos9 that run on our arm64 nodes and start building them today. One thing to check is that you don't replace the amd64 images with arm64 images due to conflicting names (and vice versa) though.
>
> -
> Jay Faulkner
> Ironic PTL
>
> On Sun, Feb 12, 2023 at 6:32 AM 韩光宇 <hanguangyu2 at gmail.com> wrote:
>> Hello,
>>
>> I saw that we can get ramdisk image from tarballs.openstack.org[1] in
>> ironic doc[2].
>>
>> I would like to ask whether all the above are of amd64 architecture.
>> Where can I download the ramdisk image of aarch64 architecture?
>>
>> When I built aarch64 image locally, It's always failed.
>>
>> ```shell
>> # export ARCH=aarch64
>> # ironic-python-agent-builder fedora
Are you attempting to build the aarch64 image from another architecture? I'm not sure if that is expected to work generally with dib. In OpenDev we build our arm64 images (not ironic ramdisk images) on the platform they are expected to boot on.
>> ...
>> mount: /tmp/tmp.1yEQhatS1X/mnt: wrong fs type, bad option, bad
>> superblock on /dev/mapper/loop0p5, missing codepage or helper program,
>> or other error.
>>
>> # ironic-python-agent-builder centos
>> ...
>> 2023-02-12 14:15:02.361 | dib-run-parts Running
>> /tmp/in_target.d/pre-install.d/01-00-centos-python3
>> 2023-02-12 14:15:05.204 | CentOS Linux 8 - AppStream
>> 17 B/s | 38 B 00:02
>> 2023-02-12 14:15:05.209 | Error: Failed to download metadata for repo
>> 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
CentOS 8 is EOL and I'm not sure anyone should be attempting to use it. Looks like IPA builds a CentOS 9 Stream based image so might be worth trying that.
>>
>>
>> # ironic-python-agent-builder ubuntu
>> ...
>> 2023-02-12 14:15:31.623 | Fetching Base Image
>> 2023-02-12 14:15:31.657 | % Total % Received % Xferd Average
>> Speed Time Time Time Current
>> 2023-02-12 14:15:31.657 | Dload
>> Upload Total Spent Left Speed
>> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
>> 2023-02-12 14:15:32.388 | Server copy has not changed. Using locally
>> cached https://cloud-images.ubuntu.com/focal/current/SHA256SUMS
>> 2023-02-12 14:15:32.422 | % Total % Received % Xferd Average
>> Speed Time Time Time Current
>> 2023-02-12 14:15:32.422 | Dload
>> Upload Total Spent Left Speed
>> 100 286 100 286 0 0 418 0 --:--:-- --:--:-- --:--:-- 418
>> 2023-02-12 14:15:33.110 | Server returned an unexpected response code. [404]
There is some key info missing here. Particularly what file was requested that 404'd. If you `export DIB_DEBUG_TRACE=1` you should get much more verbose information including the URL that 404'd. That said, if you look in the SHA256SUMS file Ubuntu refers to the arm images as arm64 not aarch64. I think your explicit setting of ARCH to aarch64 is breaking things when building Ubuntu.
>> ```
>>
>> [1]: https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/
>> [2]: https://docs.openstack.org/ironic/latest/install/deploy-ramdisk.html
>>
More information about the openstack-discuss
mailing list