]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Lazy log the fixed_key warnings
authorDan Prince <dprince@redhat.com>
Tue, 10 Dec 2013 19:51:32 +0000 (14:51 -0500)
committerDan Prince <dprince@redhat.com>
Tue, 10 Dec 2013 19:51:32 +0000 (14:51 -0500)
commit3badd1ffbe8796d27b924f882ed05b8d3f4f0f11
treed4246ed6641589635eb8d86b966999b1f7392543
parent5cb91b70b96b9eb8f22f8c596c0853b0468af268
Lazy log the fixed_key warnings

Cinder currently spews quite a bit of WARNINGs like this with
the default settings:

WARNING cinder.keymgr.conf_key_mgr [-] config option keymgr.fixed_key
has not been defined: some operations may fail unexpectedly

Many users may not be using features that require key manager...
so logging the WARNING message a bit more lazily seems reasonable.

Change-Id: I5ab72285c7d4bc2ec3196dd94fabf977b3a4ebaf
Closes-bug: 1252512
cinder/keymgr/conf_key_mgr.py