Volume discovery and local storage management lib
Go to file
Peter Wang b56ca528dd Fix wrong path used in iscsi "multipath -l"
When iSCSI multipath device path was not found via LUN wwn,
os-brick would use device path like below:
/dev/disk/by-path/ip-192.168.3.52:3260-iscsi-iqn.1992-04.com.emc:cx.apm00153906536.b5-lun-155
to detch multipath id via 'multipath -l'.
This causes error: "can't get udev device"

This fix will use path like '/dev/sda' to discover mpath id.

Closes-bug: #1585940
(cherry picked from commit 30f4fc763e)
Change-Id: I1177d846a9f6f28b2276aae2ff91af9d4ea5849e
2016-10-27 15:57:35 +01:00
doc/source Add reno for release notes management 2016-01-20 19:19:36 -06:00
etc/os-brick/rootwrap.d os-brick add cinder local_dev lvm code 2016-01-12 08:17:31 -08:00
os_brick Fix wrong path used in iscsi "multipath -l" 2016-10-27 15:57:35 +01:00
releasenotes Add missing release notes 2016-02-14 10:32:06 -06:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:41:31 +00:00
.gitignore Add reno for release notes management 2016-01-20 19:19:36 -06:00
.gitreview Update .gitreview for stable/mitaka 2016-03-10 12:57:18 -05: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 Add fancy pypi version and download images 2015-09-15 15:52:10 +00: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 2016-06-10 23:18:57 +00:00
setup.cfg remove python 2.6 trove classifier 2015-12-23 01:31:13 +00:00
setup.py Updated from global requirements 2015-09-17 12:15:39 +00:00
test-requirements.txt Add reno for release notes management 2016-01-20 19:19:36 -06:00
tox.ini Add reno for release notes management 2016-01-20 19:19:36 -06:00

README.rst

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

https://github.com/openstack/cinder