cinder/cinder/brick
Patrick East 4541521de5 Fix race condition in ISCSIConnector _disconnect_volume_multipath_iscsi
This is a similar issue as seen in 
https://bugs.launchpad.net/cinder/+bug/1375382

The list of devices returned by driver.get_all_block_devices() in
_disconnect_volume_multipath_iscsi will potentially contain broken 
symlinks as the SCSI devices have been deleted from calling
self._linuxscsi.remove_multipath_device(device_realpath) right before
_disconnect_volume_multipath_iscsi but the udev rule for the symlink 
may not yet have completed.

Adding in a check to os.path.exists() will ensure that we will not 
consider the broken symlinks as an “in use” device.

Change-Id: I79c9627e9b47127d3765fcec5b7e3bacef179630
Closes-Bug: #1375946
2014-09-30 12:45:48 -07:00
..
initiator Fix race condition in ISCSIConnector _disconnect_volume_multipath_iscsi 2014-09-30 12:45:48 -07:00
iscsi Remove redundant temporary_chown from IetAdm 2014-08-19 15:59:50 -04:00
local_dev Enable import group hacking rule 2014-08-14 13:10:58 +08:00
remotefs Remove executable bits on various files 2014-09-16 11:01:51 -04: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 Use oslo.i18n 2014-08-08 17:26:41 -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.