e57201a2843c2dd9cc6744cb8148dd6e3ed8f52f

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 commita82b2ffce5
) (cherry picked from commit30ddb17610
)
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.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:
- 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%