cinder/cinder
Dirk Mueller c74efd7765 Retry lvremove with ignore_suspended_devices
A lvremove -f might leave behind suspended devices
when it is racing with udev or other processes
still accessing any of the device files. The previous
solution of using lvchange -an on the LV had the
side-effect of deactivating origin LVs alongway in
the thick volume case, which was undesired.

It turns out retrying the deactivation twice and
ignoring the suspended devices on the second iteration
avoids the hang of all LVM operations after an initial
failure.

Change-Id: I0d6fb74084d049ea184e68f2dcc4e74f400b7dbd
Closes-Bug: #1317075
Related-Bug: #1270192
(cherry picked from commit da9597aed0)
2014-07-12 09:24:47 -05:00
..
api Remove second get call to list/show volumes 2014-07-05 08:36:03 -06:00
backup Port to oslo.messaging 2014-03-10 17:03:03 +01:00
brick Retry lvremove with ignore_suspended_devices 2014-07-12 09:24:47 -05:00
common Revert "Re-enable lazy translation" 2014-03-13 14:44:04 -05:00
compute Fix wrong example of "nova_endpoint_template" 2014-02-14 11:19:56 +08:00
db Merge "get volumes with limit and filters does not work" 2014-03-14 15:57:09 +00:00
image Fallback to None on missing Glance image attrs 2014-04-27 22:09:30 -07:00
keymgr Revert "Re-enable lazy translation" 2014-03-13 14:44:04 -05:00
locale Fix Jenkins translation jobs 2014-04-01 15:48:10 -06:00
openstack Disable oslo.messaging debug logs 2014-04-18 09:28:04 -07:00
scheduler Port to oslo.messaging 2014-03-10 17:03:03 +01:00
testing updating testing readme with more current information. 2014-02-26 09:21:13 -05:00
tests Merge "Ensure that lun_id is an int" into stable/icehouse 2014-07-10 22:27:59 +00:00
transfer Fix all occurences of H404 Hacking warning 2013-10-13 10:36:27 +03:00
volume Merge "Ensure that lun_id is an int" into stable/icehouse 2014-07-10 22:27:59 +00:00
zonemanager Add conversion types in some strings 2014-03-11 09:23:01 +09:00
__init__.py Remove vim header 2013-12-30 18:53:02 -06:00
context.py Adding domain to context 2014-03-11 10:18:21 -06:00
exception.py Merge "Fix exception message of CoraidESMConfigureError" 2014-03-14 00:10:48 +00:00
flow_utils.py Create structure of flows' packages 2014-01-24 12:44:56 +02:00
manager.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
policy.py Revert "Re-enable lazy translation" 2014-03-13 14:44:04 -05:00
quota.py Do not show quota of removed volume types in Default Quotas panel 2014-01-20 10:20:36 -08:00
quota_utils.py Add ability to modify volume type 2014-01-06 22:02:09 +02:00
rpc.py Serialize the notification payload 2014-03-25 10:37:32 +01:00
service.py init_host should be called before RPC consumer is created 2014-03-20 10:39:37 +08:00
test.py Merge "Use debug level logging during unit tests" 2014-03-13 22:50:26 +00:00
units.py Remove vim header 2013-12-30 18:53:02 -06:00
utils.py Remove second get call to list/show volumes 2014-07-05 08:36:03 -06:00
version.py Remove vim header 2013-12-30 18:53:02 -06:00
wsgi.py Fix webob.exc.HTTPForbidden parameter miss 2014-02-24 20:49:29 +09:00