Volume discovery and local storage management lib
Go to file
Gorka Eguileor c5076c37cb Read HBA information from sysfs
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
2022-06-24 13:04:55 +02:00
doc Merge "Dropping explicit unicode literal" 2021-03-12 23:36:22 +00:00
etc/os-brick/rootwrap.d Trivial rootwrap -> privsep replacement 2016-04-15 15:29:25 +00:00
os_brick Read HBA information from sysfs 2022-06-24 13:04:55 +02:00
releasenotes Read HBA information from sysfs 2022-06-24 13:04:55 +02:00
tools Update mypy infrastructure 2021-07-15 14:08:28 -04:00
.coveragerc Fix coverage generation 2016-04-20 15:52:31 +00:00
.gitignore Add LIO barbican tests to .zuul.yaml 2018-10-01 10:19:36 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:34:25 +00:00
.mailmap Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
.stestr.conf Add .stestr.conf configuration 2017-10-02 17:35:26 -05:00
.zuul.yaml Update python testing as per zed cycle teting runtime 2022-05-10 19:50:04 -05:00
CONTRIBUTING.rst Ussuri contrib docs community goal 2020-03-05 09:11:33 -05:00
HACKING.rst Update hacking version 2019-01-18 21:30:00 -05:00
LICENSE Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
README.rst Update notes about hacking on os-brick 2021-11-08 13:38:00 -05:00
bindep.txt bindep: remind people to sync the dependencies with devstack 2020-08-14 00:50:08 +02:00
mypy-files.txt mypy: exception.py 2021-08-24 19:06:35 +00:00
pylintrc Add pylint tox env 2016-04-04 18:02:19 -04:00
requirements.txt Update requirements minima for Yoga release 2022-02-14 09:34:06 -05:00
setup.cfg Update python testing as per zed cycle teting runtime 2022-05-10 19:50:04 -05:00
setup.py Cleanup py27 support 2020-04-05 17:43:12 +02:00
test-requirements.txt Bump mypy version to 0.942 2022-04-11 10:39:07 -04:00
tox.ini PEP8: Don't force name in TODO 2022-05-24 15:01:13 +02:00

README.rst

Team and repository tags

image

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 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:

https://docs.openstack.org/os-brick/latest/

OR refer to the parent project, Cinder:

https://docs.openstack.org/cinder/latest/

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/os-brick