libvirt: remove_logical_volumes should remove each separately
Currently, remove_logical_volumes() is trying to remove
all of the provided volumes path in a single lvremove command,
while retrying it several times.
This is causing the command to fail, when the deleted volumes
are reappearing in the next iteration of the retry loop.
Handling the removal of each volume separately
and raising an exception for volumes which failed to be removed.
This will increase the chance for individual volume to be removed.
Reviewed: https:/ /review. openstack. org/76954 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0192898e300 35028b002f9aed3 199be69a18efb3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0192898e3003502 8b002f9aed3199b e69a18efb3
Author: Vladik Romanovsky <email address hidden>
Date: Mon Feb 24 09:36:34 2014 -0500
libvirt: remove_ logical_ volumes should remove each separately
Currently, remove_ logical_ volumes( ) is trying to remove
all of the provided volumes path in a single lvremove command,
while retrying it several times.
This is causing the command to fail, when the deleted volumes
are reappearing in the next iteration of the retry loop.
Handling the removal of each volume separately
and raising an exception for volumes which failed to be removed.
This will increase the chance for individual volume to be removed.
Closes-Bug: #1282423 38716661a589a41 116b4c48909
Change-Id: Ib25f5603929c30