Volume discovery and local storage management lib
Go to file
Lee Yarwood 331316827a iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate
Bug #1820007 documents failures to find /dev/disk/by-id/ symlinks
associated with encrypted volumes both in real world and CI
environments. These failures appear to be due to udev on these slow or
overloaded hosts failing to populate the required /dev/disk/by-id/
symlinks in time after the iSCSI volume has been connected.

This change seeks to avoid such failures by simply decorating
_get_device_link with the @utils.retry to hopefully allow udev time to
create the required symlinks under /dev/disk/by-id/.

Closes-Bug: #1820007
Change-Id: Ib9c8ebae7a6051e18538920139fecd123682a474
2019-11-29 16:23:18 +00:00
doc Change PDF file name 2019-09-04 06:51:27 +02:00
etc/os-brick/rootwrap.d Trivial rootwrap -> privsep replacement 2016-04-15 15:29:25 +00:00
os_brick iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-11-29 16:23:18 +00:00
releasenotes Fix FC scan too broad 2019-11-11 15:47:59 +01:00
tools Add generate_connector_list 2019-04-16 23:17:18 +00:00
.coveragerc Fix coverage generation 2016-04-20 15:52:31 +00:00
.gitignore Add LIO barbican tests to .zuul.yaml 2018-10-01 10:19:36 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:34:25 +00:00
.mailmap Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
.stestr.conf Add .stestr.conf configuration 2017-10-02 17:35:26 -05:00
.zuul.yaml Switch to Ussuri jobs 2019-10-22 12:22:51 +08:00
CONTRIBUTING.rst Update and replace http with https for doc links 2017-07-26 02:18:44 +00:00
HACKING.rst Update hacking version 2019-01-18 21:30:00 -05:00
LICENSE Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 20:55:14 +08:00
babel.cfg Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
bindep.txt Add pdf documentation build in tox 2019-08-29 11:41:33 -07:00
lower-constraints.txt Require oslo.privsep 1.32.0 2019-09-16 10:03:00 -04:00
pylintrc Add pylint tox env 2016-04-04 18:02:19 -04:00
requirements.txt Merge "Blacklist eventlet 0.25.0" 2019-11-27 18:21:32 +00:00
setup.cfg Remove py35 from setup.cfg 2019-02-28 11:02:40 +05:30
setup.py Updated from global requirements 2017-03-10 19:12:09 +00:00
test-requirements.txt Blacklist sphinx 2.1.0 (autodoc bug) 2019-08-22 13:40:22 +08:00
tox.ini Update the constraints url 2019-09-23 16:13:33 +08:00

README.rst

Team and repository tags

image

brick

Latest Version

Downloads

OpenStack Cinder brick library for managing local volume attaches

Features

  • Discovery of volumes being attached to a host for many transport protocols.
  • Removal of volumes from a host.

Hacking

Hacking on brick requires python-gdbm (for Debian derived distributions), Python 2.7 and Python 3.4. A recent tox is required, as is a recent virtualenv (13.1.0 or newer).

If "tox -e py34" fails with the error "db type could not be determined", remove the .testrepository/ directory and then run "tox -e py34".

For any other information, refer to the developer documents:

https://docs.openstack.org/os-brick/latest/

OR refer to the parent project, Cinder:

https://docs.openstack.org/cinder/latest/

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/os-brick