Volume discovery and local storage management lib
4cc4f0dda2
This patch adds a simple check to see if the kernel even supports Fibre Channel before calling systool -c fc_host -v to find the active HBA's on the system. The problem is that privsep can't quietly run systool without puking out a bunch of errors to stderr. We know that most systems don't have FC and that's why we always wrapped out call to putils executing systool with a try block. putils allows callers to expect exceptions and then handle the exception logging or not themselves. privsep doesn't allow that. Change-Id: Idd254303c9cca2b57d358de2fdbaf8abdd76b553 |
||
---|---|---|
doc/source | ||
etc/os-brick/rootwrap.d | ||
os_brick | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
pylintrc | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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:
- License: Apache License, Version 2.0
- Source: http://git.openstack.org/cgit/openstack/os-brick
- Bugs: http://bugs.launchpad.net/os-brick