hi:
frist:
Sihan Wang,when a vm has snapshot,the vm'root device will like this:
[vsanDatastore] 4e06e658-afa1-e450-7fe1-90b11c1a5073/79834d95-edbc-4542-88d5-f5c16f4f8aa0-000001.vmdk
the openstack code get the root device(in the https://github.com/openstack/nova/blob/master/nova/virt/vmwareapi/vm_util.py) use :
path = ds_obj.DatastorePath.parse(device.backing.fileName)
if root_disk and path.basename == root_disk: root_device = device vmdk_device = device
it will get error.
and then,in the customer site,they will backup with third party product.will snapshot the vm.so the openstack get the root device will get error.when i add the code adapte the condition Isn't it better to?
hi: afa1-e450- 7fe1-90b11c1a50 73/79834d95- edbc-4542- 88d5-f5c16f4f8a a0-000001. vmdk /github. com/openstack/ nova/blob/ master/ nova/virt/ vmwareapi/ vm_util. py) use : DatastorePath. parse(device. backing. fileName)
root_ device = device
vmdk_ device = device
frist:
Sihan Wang,when a vm has snapshot,the vm'root device will like this:
[vsanDatastore] 4e06e658-
the openstack code get the root device(in the https:/
path = ds_obj.
if root_disk and path.basename == root_disk:
it will get error.
and then,in the customer site,they will backup with third party product.will snapshot the vm.so the openstack get the root device will get error.when i add the code adapte the condition Isn't it better to?