deb-cinder/etc/cinder
John Griffith 844aa0ac3e Provide cfg to ignore lvm descriptor leak warnings
For some reason the leaded 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.

For now this patch added a new config option to the LVM driver:
    lvm_suppress_fd_warnings=True|False

This is useful for K8 deployments that have an indirect call to the
LVM cmds which results in failures.

For those that are interested, this can also be done outside of
cinder by setting the silence_logs variable in lvm.conf

This is made optional as a config flag to avoid any breakage for
existing deployments during upgrade.

DocImpact: Need to add info regarding config update to docs

Change-Id: I85612fa49475beea58d30330c8fe8352a2f91123
Closes-Bug: #1619701
(cherry picked from commit 055ec1ce73)
2016-09-27 14:25:36 -06:00
..
rootwrap.d Provide cfg to ignore lvm descriptor leak warnings 2016-09-27 14:25:36 -06:00
api-httpd.conf Add Cinder API wsgi application 2015-08-25 13:48:03 +03:00
api-paste.ini Use oslo_middleware sizelimit 2016-06-09 07:29:51 -04:00
logging_sample.conf Move logging sample to use oslo_log 2015-04-30 15:04:48 +00:00
policy.json Merge "Separate create and update rules for volume metadata" 2016-08-29 04:39:39 +00:00
README-cinder.conf.sample Remove the cinder.conf.sample file 2014-12-07 23:09:36 +08:00
rootwrap.conf Add iSCSI SCST Target support to cinder 2015-02-13 00:52:11 +05:30