da4561165dab021684fd2c51b0851f098a163318
Move the _get_system_uuid method from the NVMeOFConnector connector to os_brick/privsep/nvmeof.py renaming it to get_system_uuid and running it as privileged. This allows us to read sys/class/dmi/id/product_uuid file in Python instead of running a subprocess to execute cat. It also allows the connector to have one less privsep calls if the file doesn't exist, because it can execute the dmidecode command directly without making another request to the privsep daemon. Change-Id: I8f2edef6fda97af0ff3f92e39c8b24a85b6c3402
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.8+. A recent tox is required, as is a recent virtualenv (20.2.2 or newer).
- 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
Description
Languages
Python
99.6%
Shell
0.4%