Volume discovery and local storage management lib
Go to file
Takashi Kajinami 4478433550 Avoid unhandled exceptions during connecting to iSCSI portals
Currently we don't properly catch some possible exceptions during
connectiing to iSCSI portals, like failures in "iscsiadm -m session".
Because of this _connect_vol threads can abort unexpectedly in some
failure patterns, and this abort causes hung in subsequent steps
waiting for results from _connct_vol threads.

This change ensures that any exceptions during connecting to iSCSI
portals are handled in the _connect_vol method corectly, to avoid
unexpected abort without updating thread results.

Closes-Bug: #1915678
Change-Id: I0278c502806b99f8ec65cb146e3852e43031e9b8
2021-03-04 12:01:41 +09:00
doc Update requirements 2020-12-14 15:01:54 +00:00
etc/os-brick/rootwrap.d Trivial rootwrap -> privsep replacement 2016-04-15 15:29:25 +00:00
os_brick Avoid unhandled exceptions during connecting to iSCSI portals 2021-03-04 12:01:41 +09:00
releasenotes Avoid unhandled exceptions during connecting to iSCSI portals 2021-03-04 12:01:41 +09:00
tools Stop to use the __future__ module. 2020-06-02 20:35:29 +02: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 Merge "Revert "Keep barbican integration job running on Bionic"" 2020-10-07 15:37:12 +00:00
CONTRIBUTING.rst Ussuri contrib docs community goal 2020-03-05 09:11:33 -05: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
bindep.txt bindep: remind people to sync the dependencies with devstack 2020-08-14 00:50:08 +02:00
lower-constraints.txt Update requirements 2020-12-14 15:01:54 +00:00
pylintrc Add pylint tox env 2016-04-04 18:02:19 -04:00
requirements.txt Update requirements 2020-12-14 15:01:54 +00:00
setup.cfg Remove translation sections from setup.cfg 2020-05-15 09:28:48 +08:00
setup.py Cleanup py27 support 2020-04-05 17:43:12 +02:00
test-requirements.txt Update requirements 2020-12-14 15:01:54 +00:00
tox.ini Replace deprecated UPPER_CONSTRAINTS_FILE variable 2020-12-03 14:07:38 +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