]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMware: Add volume ID in vCenter's volume config
authorVipin Balachandran <vbala@vmware.com>
Mon, 22 Jun 2015 14:26:09 +0000 (19:56 +0530)
committerVipin Balachandran <vbala@vmware.com>
Wed, 12 Aug 2015 07:54:31 +0000 (13:24 +0530)
commitcb98bb48f1af590ecdc0f5e064fdad31ef61eec8
treee4bd7039d1167229f4863b4427e3571ac3e12a58
parente1e33286ce2f2ed1028423691bc29b89df3da5d2
VMware: Add volume ID in vCenter's volume config

HP data protector's backup of vCenter inventory is failing
for 'in-use' Cinder volumes because the vmdk is attached
to two VMs (Nova instance and the backing VM corresponding
to Cinder volume). The solution is to skip the backing VM
during data protector's backup.

This patch adds key 'cinder.volume.id' with value set to
volume UUID in volume's vCenter config file so that other
vCenter solutions can uniquely identify Cinder volumes.

Closes-Bug: #1484012
Change-Id: I08a5f1a39def14f164ab3ca08a480310ce0b79ca
cinder/tests/unit/test_vmware_vmdk.py
cinder/tests/unit/test_vmware_volumeops.py
cinder/volume/drivers/vmware/vmdk.py
cinder/volume/drivers/vmware/volumeops.py