RETIRED, further work has moved to Debian project infrastructure
Go to file
Avishay Traeger e00ce84629 Fix race in check and access of /dev/disk/by-path/
If udev deletes the directory between the check and access then we have
an exception thrown. Instead of checking, just list the directory and
handle the exception in case it doesn't exist.

Co-Authored-By: Jordan Pittier <jordan.pittier@scality.com>
Change-Id: I52143923d2407b3d43eccf5d3c51526a92d1e3c5
Closes-Bug: 1478473
2015-07-28 18:30:06 +02:00
doc/source Use pbr's automatically generated changelog 2015-07-17 17:33:42 +00:00
os_brick Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
.coveragerc Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
.gitignore Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
.gitreview Correct project name in .gitreview 2015-03-18 13:00:51 +01:00
.mailmap Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
.testr.conf Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
CONTRIBUTING.rst Update the documentation for os-brick 2015-02-19 14:37:13 -08:00
HACKING.rst Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
LICENSE Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
MANIFEST.in Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
README.rst Cleanup Python 3 changes 2015-07-09 13:48:01 +02:00
babel.cfg Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
openstack-common.conf Switch to oslo.service 2015-06-25 11:18:42 +02:00
requirements.txt Updated from global requirements 2015-07-15 20:44:24 +00:00
setup.cfg renamed the project to os-brick 2015-02-05 23:58:37 +00:00
setup.py Updated from global requirements 2015-07-15 01:36:09 +00:00
test-requirements.txt Updated from global requirements 2015-07-15 01:36:09 +00:00
tox.ini Cleanup Python 3 changes 2015-07-09 13:48:01 +02:00

README.rst

brick

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 imformation, refer to the parent project, Cinder:

https://github.com/openstack/cinder