Issues with cloud-init and Ubuntu Cloud Image 24.04 LTS

Zx4ACQQ7

Member
Feb 14, 2021
14
1
23
54
Hello,
I wanted to create a few VM's and initialize them with cloud-init by following this video right here.
Unfortunately for the second time I have tried this it hasn't worked as planned.

The first thing that I tried was copying exactly what was done on the video (Ubuntu Cloud Image 24.04 LTS) + UEFI + Cloud-init + Proxmox (obviously) and I got an error

Code:
BdsDxe: failed to load Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1E, 0x0)/Pci(0x1, 0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0): Not Found
BdsDxe: No bootable option or device was found.

I found some threads in this forum where it said that this particular version may have issues with Cloud-init being in IDE bus and tried putting that into SCSI but this didn't work either.
I then found another thread that mentioned that it doesn't like UEFI so I tried SeaBIOS instead but this didn't work either.
This time the failure was different. It got one step further ahead but it got stuck in a screen saying
Booting from hard disk... and then getting stuck there.

I then tried Ubuntu Cloud Image 22.04 LTS and this is working with SeaBIOS.
I will continue doing A/B testing to figure out what exactly the problem is but this is so frustrating. I believe in the past I had tried to use Cloud-init with Proxmox with a Debian cloud image and had some other problems.

Any help is appreciated to figure out why it doesn't work.

Thanks for your time.
 
I found some threads in this forum where it said that this particular version may have issues with Cloud-init being in IDE bus and tried putting that into SCSI but this didn't work either.
If you can't boot an image - it is not CloudInit related. Think of CloudInit as something that is invoked and processed pretty late in the boot process. The OS Kernel is already bootstrapped and loaded all the drivers, network interfaces are probably up, etc.

I would confirm that you downloaded image with the correct Architecture first. Make sure you can boot it second. CloudInit manipulations come after.

Cheers


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Hey @bbgeek17 thanks for the reply. Your name stood out in the other threads troubleshooting Ubuntu Cloud Images.
No I understand this, it is just that a part of me deep inside can't fathom why a) such a popular distribution can not work out of the box and b) that there is not more of a big fuss about this failure
I have found some links to state that there is something wrong but I would expect that more people would have screamed about it.
 
To be frank, we don't know yet what is wrong.
The only information you provided is a boot message error that can have 100 different causes. At the very least you need to provide:
- VM configuration
- Image source and name
- Method how it was created

The likely reason nobody "screams" about "it" is because the issue is highly specific to your environment.

Cheers


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Johannes S