
For some reason the leaked descriptor warning message coming from LVM is causing Cinder to fail startup and it appears to be masking out the vg response in vgs calls. We typically don't hit this, but due to the nature of Kolla and I guess going through the different processes via the containers this gets logged every time vgs is called. Eric Harney rightly pointed out that rather than use exception handling and such that we should use the LVM env variable mechanism we already have in place in Cinder. This was added to the LVM local_dev code in the openstack/cinder repo, but was not also added to os-brick. The long term goal is to have all of this handling in os-brick, so this replicates the changes from cinder done in I85612fa49475beea58d30330c8fe8352a2f91123. Change-Id: I9d5aaad0e6213535afc1ce071f12190cc6aa02d0 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
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-gdbm (for Debian derived distributions), Python 2.7 and Python 3.4. A recent tox is required, as is a recent virtualenv (13.1.0 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://git.openstack.org/cgit/openstack/os-brick
- Bugs: https://bugs.launchpad.net/os-brick
Description
Languages
Python
99.6%
Shell
0.4%