c5076c37cb
We were gathering HBA information using the systool command line tool, but this tool is no longer going to be packaged in some Operating Systems, for example in RHEL9 where the sysfsutils package is being removed. To prevent os-brick from breaking in those systems this patch removes the usage of the command and reads the necessary information from sysfs. Conveniently reading from sysfs should also be faster because we no longer need to make a privsep call to run a command, instead we are reading the minimum number of files and information possible. Change-Id: Idb8b0c22a30e52c7f84a54dd9f410ff657f502a4 |
||
---|---|---|
doc | ||
etc/os-brick/rootwrap.d | ||
os_brick | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
bindep.txt | ||
mypy-files.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 3.6+. A recent tox is required, as is a recent virtualenv (20.2.2 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:
- Release notes for the project can be found at:
- License: Apache License, Version 2.0
- Source: https://opendev.org/openstack/os-brick
- Bugs: https://bugs.launchpad.net/os-brick