Closed jm66 closed 8 years ago
Hi @pratikvgupta, I've tested this with latest flocker and pyVmomi already.
hey @pratikvgupta any word on this?
Hi @jm66 ,
Can you test if this works if we move the vm to a different esxi host and datastore? We need to be sure that the UUID remains same when the VM moves across esxi hosts and datastores.
Hi @pratikvgupta,
If I understand correctly, VM UUID won't change unless you move the VM from vCenter instance or manually.
As per your request, I've tested both ESXi vMotion and storage vMotion, and they seem to work well.
Very good change. Thanks for the improvements.
/usr/sbin/dmidecode -t 1|grep 'UUID'|cut -d : -f2
and then query vCenter using si.content.searchIndex (performant) which gets the VM object and stores the instanceUuid in the VsphereBlockDeviceAPI object to rely on si.content.searchIndex to find VMs instead of slow searches by name. Driver performance is way better.