Avoid traceback logs from simple tenant usage extension
Avoid generating traceback logs when invalid formatted datetime
parameters are passed to the simple tenant usage
extension. Exceptions have not been correctly handled by the
os-simple-tenant usage extension which results in tracebacks
being output to the log files. This patch correctly handles
exceptions as a result of badly formatted datetime strings.
Reviewed: https:/ /review. openstack. org/111802 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=073ee0697f9 51e12587e9bd05c e610474027fc4d
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 073ee0697f951e1 2587e9bd05ce610 474027fc4d
Author: Christopher Yeoh <email address hidden>
Date: Tue Apr 8 14:52:59 2014 +0930
Avoid traceback logs from simple tenant usage extension
Avoid generating traceback logs when invalid formatted datetime simple- tenant usage extension which results in tracebacks
parameters are passed to the simple tenant usage
extension. Exceptions have not been correctly handled by the
os-
being output to the log files. This patch correctly handles
exceptions as a result of badly formatted datetime strings.
Conflicts:
nova/ tests/api/ openstack/ compute/ contrib/ test_simple_ tenant_ usage.py
Change-Id: Iecd42239357b96 450b6530c0486b2 7c68995c37f 321a7f2bd0865c1 ae81250882)
Partial-Bug: 1300972
(cherry picked from commit f60c72fac04a97b