deb-cinder/cinder/volume
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
..
drivers Provide cfg to ignore lvm descriptor leak warnings 2016-09-27 14:25:36 -06:00
flows Fix manage existing MissingDependencies error 2016-09-02 10:24:03 -04:00
targets fix the %{} when string formating 2016-09-11 13:43:46 +08:00
__init__.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
api.py Merge "Add group snapshots - APIs" 2016-08-31 16:47:09 +00:00
configuration.py Remove unused logging import and LOG global var 2016-05-20 17:17:38 +08:00
driver.py Merge "Fix the password print in cinder-volume.log issue" 2016-09-05 16:01:53 +00:00
driver_utils.py Give more fine grained access to DriverInitiatorData 2016-06-03 11:06:48 -07:00
group_types.py Add group type and group specs 2016-07-08 14:26:39 -04:00
manager.py Remove extra param in list_manageable_snapshots 2016-09-21 19:27:03 -07:00
qos_specs.py Fix mistakes introduced with QoSSpecs object 2016-07-28 13:34:24 +02:00
rpcapi.py Add volume RPC API v3.0 2016-09-15 15:02:01 +02:00
throttling.py Fix volume throttling to Python 3 2015-10-02 07:01:03 +00:00
utils.py Fix exceed of dd action when copying with path 2016-09-01 14:48:50 +02:00
volume_types.py Retype encrypted volumes 2016-08-30 21:11:18 +08:00