os-brick/os_brick
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
..
caches opencas: Use BrickException instead of Exception 2020-12-17 15:21:37 +00:00
encryptors Merge "encryptors: Remove workaround for bug #1633518" 2021-08-03 15:51:00 +00:00
initiator Read HBA information from sysfs 2022-06-24 13:04:55 +02:00
local_dev LVM: Retry lv calls on segfault due to lvs failure 2021-07-26 15:19:16 +00:00
privileged Fix encryption symlink issues 2022-05-24 15:01:00 +02:00
remotefs Introduce mypy 2021-05-21 16:58:22 -04:00
tests Read HBA information from sysfs 2022-06-24 13:04:55 +02:00
__init__.py doc: Remove cruft from conf.py 2017-08-08 15:44:29 +01:00
exception.py mypy: exception.py 2021-08-24 19:06:35 +00:00
executor.py Introduce mypy 2021-05-21 16:58:22 -04:00
i18n.py Update and replace http with https for doc links 2017-07-26 02:18:44 +00:00
utils.py Fix encryption symlink issues 2022-05-24 15:01:00 +02:00
version.py Add reno for release notes management 2016-01-20 19:19:36 -06:00