cinder/cinder/brick
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
..
initiator Revert "Re-enable lazy translation" 2014-03-13 14:44:04 -05:00
iscsi Check for silent failure of tgtadm remove 2014-04-14 13:24:14 -06:00
local_dev Retry lvremove with ignore_suspended_devices 2014-07-12 09:24:47 -05:00
remotefs Revert "Re-enable lazy translation" 2014-03-13 14:44:04 -05:00
README.txt This adds a README to brick 2013-09-04 16:08:05 -04:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
exception.py Revert "Re-enable lazy translation" 2014-03-13 14:44:04 -05:00
executor.py Remove vim header 2013-12-30 18:53:02 -06:00

README.txt

Brick is a new library that currently is maintained in Cinder for
the Havana release.   It will eventually be moved external to Cinder,
possibly oslo, or pypi.  Any defects found in Brick, should be submitted
against Cinder and fixed there, then pulled into other projects that
are using brick.

* Brick is used outside of Cinder and therefore
  cannot have any dependencies on Cinder and/or
  it's database.