844aa0ac3e
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
|
||
---|---|---|
.. | ||
rootwrap.d | ||
api-httpd.conf | ||
api-paste.ini | ||
logging_sample.conf | ||
policy.json | ||
README-cinder.conf.sample | ||
rootwrap.conf |