os-brick/os_brick/local_dev
Sean McGinnis 5dc5a55d33 Provide setting to ignore lvm descriptor leak warnings
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>
2019-05-07 21:53:37 +00:00
..
__init__.py os-brick add cinder local_dev lvm code 2016-01-12 08:17:31 -08:00
lvm.py Provide setting to ignore lvm descriptor leak warnings 2019-05-07 21:53:37 +00:00