Hello Mohammed,

I think setting hw_machine_type=uefi in volume_metadata for a volume should make it being
honored by Nova (virt-v2v should set it in volume_metadata already).

But I also know that the tool that we use internally also sets hw_machine_type=uefi on the instance
to be extra explicit.

Best regards
Tobias

On 24 Jun 2024, at 16:17, Mohammed Naser <mnaser@vexxhost.com> wrote:

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