Thanks to Dan Smith’s help, he pointed me out over IRC to look at:

 

https://docs.openstack.org/api-ref/block-storage/v3/#set-image-metadata-for-a-volume

 

Thanks again, I’ll be sharing more after I wrap up the final bits soon. 😊

 

 

From: Mohammed Naser <mnaser@vexxhost.com>
Date: Monday, June 24, 2024 at 10:17
AM
To: OpenStack Discuss <openstack-discuss@lists.openstack.org>
Subject: [nova] Enabling UEFI for BFV instances

Hi everyone,

 

I’m working on an open source tool right now which can do online migration of VMware instances to OpenStack.  It uses VDDK and some other neat pieces of open source technology (nbdkit, libnbd, virt-v2v). It’s working great so far and I have a few challenges before release.

 

When migrating a VM that was using UEFI in VMware, the VM will not boot inside OpenStack because it needs `hw_machine_type` to be set to `uefi`.  However, the way that I’m doing migrations, I’m mounting a volume inside a migration “appliance VM” and copying data into it (to make it generic enough to work with all backends).

 

Is there a way we can mark a volume as UEFI bootable by any chance so that Nova picks it up?

 

Thanks,

Mohammed