During volume attach, the volume vmdk UUID is added to VM's
extra config as a key-value pair "volume-<volume-UUID> =
<volume-vmdk-UUID>". This is required to identify the vmdk
to be removed during volume detach. But the key-value pair
added during volume attach is not deleted during detach.
This patch deletes the relevant key-value pair from VM's
extra config during volume detach.
Reviewed: https:/ /review. openstack. org/204622 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=88721a65b5d 2e07bba0e2b405c 3cd93491d731dc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 88721a65b5d2e07 bba0e2b405c3cd9 3491d731dc
Author: Vipin Balachandran <email address hidden>
Date: Wed Jul 22 19:06:45 2015 +0530
VMware: Delete vmdk UUID during volume detach
During volume attach, the volume vmdk UUID is added to VM's <volume- UUID> = vmdk-UUID> ". This is required to identify the vmdk
extra config as a key-value pair "volume-
<volume-
to be removed during volume detach. But the key-value pair
added during volume attach is not deleted during detach.
This patch deletes the relevant key-value pair from VM's
extra config during volume detach.
Closes-Bug: #1477159 2418f301045fb2b 3542a39b471
Change-Id: Id4d5e2eede5e1d