db40d98044
Current OS-Brick FC code always scans all present HBAs, which could unintentionally add unwanted devices, for example in the following environment: +-------+ +------+ +-----------------+ | host5 +-----+ +---+ Port.A VNX | | | | FCSW +---+ Port.B | | host6 +-----+ | +-----------------+ | | +------+ | | +------+ | host7 +-----+ | +-----------------+ | | | FCSW +---+ Port.C XtremIO | | host8 +-----+ +---+ Port.D | +-------+ +------+ +-----------------+ This patch limits what HBAs get scanned: - If we have an initiator map, we only scan on the HBAs that are there - If we are in the single WWNN for all ports case we only scan HBAs that are connected - If we can't do any better we scan all HBAs with wildcards Closes-Bug: #1765000 Change-Id: I3ba8f9683211d550727a97fc455175f2b0482886 |
||
---|---|---|
doc/source | ||
etc/os-brick/rootwrap.d | ||
os_brick | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
bindep.txt | ||
lower-constraints.txt | ||
pylintrc | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
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 information, refer to the developer documents:
- OR refer to the parent project, Cinder:
- License: Apache License, Version 2.0
- Source: https://git.openstack.org/cgit/openstack/os-brick
- Bugs: https://bugs.launchpad.net/os-brick