Hi Jay,

Thanks for your response. I am using the prebuilt ramdisk based on the following command and pushed it to OpenStack.
$ curl https://tarballs.opendev.org/openstack/ironic-python-agent/dib/files/ipa-centos8-stable-yoga.initramfs   -o /etc/kolla/config/ironic/ironic-agent.initramfs
$ openstack image create --disk-format ari --container-format ari --public   --file /etc/kolla/config/ironic/ironic-agent.initramfs deploy-initrd

Since I have been trying different things, I am actually gathering information from different documents and ended up here. I have posted the full log starting from where I begin the deploy task here https://paste.opendev.org/show/bWX72gAhxUJ4s1Dc5onS/. If you need any further input, please let me know.

Best,
James

On Sun, Jun 16, 2024 at 7:37 PM Jay Faulkner <jay@gr-oss.io> wrote:
Hey James,

What ramdisk are you using to deploy with  -- one you built yourself or a prebuilt?

Can you upload the full logs somewhere like https://paste.opendev.org/?

Thanks,
Jay Faulkner

On Sun, Jun 16, 2024 at 4:29 PM James Leong <jamesleong123098@gmail.com> wrote:
Hi all,

I have been playing around with ironic. However, I am not able to get the deploy of an image to write to the whole disk. It has been complaining about the same error of "Writing image to device /dev/sda failed with exit code 32. stdout: . stderr: lsblk: /dev/sda2: not a block device." Apart from that, I have tried to attached a physical pendrive to it and it's showing me another error stating "Installing GRUB2 boot loader to device /dev/sda failed with Unexpected error while running command.\nCommand: mount -o bind /dev /tmp/tmp5q03tchw/dev\nExit code: 32\nStdout: ''\nStderr: 'mount: /tmp/tmp5q03tchw/dev: mount point does not exist.\\n'." Any help or directly is greatly appreciated.

Best,
James