summaryrefslogtreecommitdiff
path: root/keystoneclient/common
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2013-06-12 09:21:10 -0400
committerDan Prince <dprince@redhat.com>2013-06-12 09:21:10 -0400
commita4af27a705926c5a9f6913b3eca2f3f2298d9db5 (patch)
tree7a42e892d82c753dcb8f24cfca837a8b5282637a /keystoneclient/common
parent76daaffd870166ff8070a6d56835fc4a25f0a1fb (diff)
downloadpython-keystoneclient-a4af27a705926c5a9f6913b3eca2f3f2298d9db5.tar.gz
Log cms_verify issues as warnings (not errors).
In general we probably do want to log these types of errors... but not as ERRORS. I think log Warning messages are probably more appropriate here since it would be possible to hit this when expired certs are refreshed... Fixes LP Bug #1190230. Change-Id: I0383f7e490ddcdfb31a62cd3760102152a8d16d9
Diffstat (limited to 'keystoneclient/common')
-rw-r--r--keystoneclient/common/cms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/common/cms.py b/keystoneclient/common/cms.py
index 48b991a..3fca24c 100644
--- a/keystoneclient/common/cms.py
+++ b/keystoneclient/common/cms.py
@@ -41,7 +41,7 @@ def cms_verify(formatted, signing_cert_file_name, ca_file_name):
output, err = process.communicate(formatted)
retcode = process.poll()
if retcode:
- LOG.error('Verify error: %s' % err)
+ LOG.warning('Verify error: %s' % err)
# NOTE(dmllr): Python 2.6 compatibility:
# CalledProcessError did not have output keyword argument
e = subprocess.CalledProcessError(retcode, "openssl")