Add retry to lvm delete
Seems we have another issue related to lvm and snapshots, but this time it's on the delete side. We used a simple retry mechanism for snapshot create here: https://review.openstack.org/#/c/149360/8 I'm hesitant to just add another retry without looking at dm issues, but this should address the problem temporarily and give us a chance to collect some data on the issue. Change-Id: I37607a09e2f9af6f2f32ddfaa8567400541e533a Closes-Bug: #1450110
This commit is contained in:
parent
5df1f21904
commit
b813f3f807
|
@ -625,6 +625,7 @@ class LVM(executor.Executor):
|
|||
LOG.error(_LE('StdErr :%s'), err.stderr)
|
||||
raise
|
||||
|
||||
@utils.retry(putils.ProcessExecutionError)
|
||||
def delete(self, name):
|
||||
"""Delete logical volume or snapshot.
|
||||
|
||||
|
|
Loading…
Reference in New Issue