Gorka Eguileor 30ddb17610 Support separate privsep logging levels
Currently we don't have os_brick DEBUG log levels in Nova when setting
the service to debug mode.

That happens because Nova is forcefully setting oslo.privsep.daemon
levels to INFO to prevent leaking instance XML details (bug #1784062).

Oslo Privsep now supports per-context debug log levels, so this patch
sets the log level name for its only os_brick privsep context to
"os_brick.privileged" to differentiate it from the service it runs under
which uses the default "oslo_privsep.daemon".

This way even though Nova is still disabling its own privileged calls it
won't affect os-brick privileged calls, allowing us to properly debug
block device attach/detach operations.

Closes-Bug: #1922052
Related-Bug: #1784062
Change-Id: I0de32021eb90ca045845a6c7c7e3d27e52895948
(cherry picked from commit a82b2ffce5ad11b591130df40500b2fb1673a129)
2023-02-08 11:47:14 +01: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
2022-09-09 10:27:42 +00:00
2015-01-22 19:09:30 +00:00
2017-10-02 17:35:26 -05:00
2019-01-18 21:30:00 -05:00
2015-01-22 19:09:30 +00:00
2022-08-25 09:59:32 -04:00
2016-04-04 18:02:19 -04:00
2022-08-23 15:11:56 +00: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 31 MiB
Languages
Python 99.6%
Shell 0.4%