Problems encountered when creating a new VM OpenEULE/24.03/AMD64


➜ ~ incus version
Client version: 6.6
Server version: 6.6

Confirmed here with incus 6.0.2. It reproduces just as well with text console - you don’t need the graphical one - and gives the same error.

BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1): Access Denied

Here is a version suitable for copy-paste:

incus init images:openeuler/24.03 vm2 --vm
incus config device add vm2 agent disk source=agent:config
incus start vm2 --console

Looks like the image is broken.

Access Denied means that you have Secure Boot enabled with an OS which doesn’t support it.

Ah OK, this is happy:

incus init images:openeuler/24.03 vm2 --vm -c security.secureboot=false
incus config device add vm2 agent disk source=agent:config
incus start vm2 --console

I wonder if it would be useful for image metadata to be able to give some defaults for settings like this?

OpenEuler wasn’t in the list of images requiring secureboot to be disabled on our side, I’ve now changed this so it should give you the correct warning moving forward.

1 Like