commit e302cefafc18754a4495ad061062732b97d326ea
Author: John Griffith <email address hidden>
Date: Thu Jan 22 11:22:25 2015 -0700
Add retry to lvm snapshot create
We have some occasional issues with snapshot-create
failing for what looks to be conflicts with udev. It
looks like this problem is a status conflict between LVM
cache and udev, and in most cases the best way to get
around this is to retry the command a few times until
the cache and udev are back in sync.
This patch uses the newly added retry decorator and
for now we're just adding it to the snapshot create
call. We're using the default values for interval and
retry count but we can certainly adjust this as needed.
Reviewed: https:/ /review. openstack. org/149360 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=e302cefafc1 8754a4495ad0610 62732b97d326ea
Committed: https:/
Submitter: Jenkins
Branch: master
commit e302cefafc18754 a4495ad06106273 2b97d326ea
Author: John Griffith <email address hidden>
Date: Thu Jan 22 11:22:25 2015 -0700
Add retry to lvm snapshot create
We have some occasional issues with snapshot-create
failing for what looks to be conflicts with udev. It
looks like this problem is a status conflict between LVM
cache and udev, and in most cases the best way to get
around this is to retry the command a few times until
the cache and udev are back in sync.
This patch uses the newly added retry decorator and
for now we're just adding it to the snapshot create
call. We're using the default values for interval and
retry count but we can certainly adjust this as needed.
Change-Id: Ic884b829591361 da979fde968f571 0237b34565f
Closes-Bug: #1335905