Volume discovery and local storage management lib
Go to file
Peter Wang 0f3ec7c70a Use 'device' instead of 'volume_path'
If device is not found at the first try,
exception VolumeDeviceNotFound will be thrown.
The exception VolumeDeviceNotFound expects the key 'device',
however, 'volume_path' is passed in. As a result,
KeyError: 'device' exception will be thrown.

See the following definition in exception.py:
class VolumeDeviceNotFound(CinderException):
    message = _('Volume device not found at %(device)s.')

This bug is introduced in https://review.openstack.org/#/c/213389

Change-Id: I64b37486631c31569fb037064c2ec0fee3bd855c
Closes-Bug: #1492936
2015-09-07 22:30:10 -04:00
doc/source Use pbr's automatically generated changelog 2015-07-17 17:33:42 +00:00
etc/os-brick/rootwrap.d FC Stop calling multipath command line 2015-08-27 16:55:36 +00:00
os_brick Use 'device' instead of 'volume_path' 2015-09-07 22:30:10 -04: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-08-26 14:03:50 +00:00
setup.cfg Add rootwrap filters 2015-08-25 16:29:07 -07:00
setup.py Updated from global requirements 2015-07-15 01:36:09 +00:00
test-requirements.txt Updated from global requirements 2015-08-08 03:10:06 +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