Mark Goddard 78609b646c Silence warning when running in a container with overlayfs
When running in a container using overlayfs we may see the following
warning:

  WARNING os_brick.initiator.connectors.nvmeof process execution error
  in _get_host_uuid: Unexpected error while running command.
  Command: blkid overlay -s UUID -o value
  Exit code: 2
  Stdout: ''
  Stderr: '': oslo_concurrency.processutils.ProcessExecutionError:
  Unexpected error while running command.

This change fixes the issue by not running the command when the file
system source is overlay.

Closes-Bug: #2045557
Change-Id: I3abc5bee7f474a9a40d396c559a42edff86334e0
(cherry picked from commit bd07c571da)
(cherry picked from commit 823cda4b8a)
(cherry picked from commit fd4467222e)
2024-05-23 02:52:08 +00:00
2022-07-19 12:40:57 +02:00
2022-08-18 14:04:26 -04:00
2016-04-20 15:52:31 +00:00
2023-02-24 17:34:48 +00:00
2015-01-22 19:09:30 +00:00
2017-10-02 17:35:26 -05:00
2022-09-09 10:27:46 +00:00
2019-01-18 21:30:00 -05:00
2015-01-22 19:09:30 +00:00
2022-08-25 14:00:42 +00:00
2016-04-04 18:02:19 -04:00
2020-04-05 17:43:12 +02:00

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

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

Description
Volume discovery and local storage management lib
Readme 33 MiB
Languages
Python 99.6%
Shell 0.4%