commit 3a5e1faee04671f2e88b28d805b191b480054254
Author: Dan Smith <email address hidden>
Date: Tue Oct 1 12:12:13 2013 -0700
Avoid spamming conductor logs with object exceptions
Conductor's logs should include tracebacks only when something
unexpected happened, which is why we have the client_exceptions()
decorator. The object_action() and object_class_action() methods
are used for direct remoting of object methods, and thus really
should forward *any* exception to the client.
This patch does that, and also adds missing tests for these two
methods to verify the normal and exception-wrapped behavior.
Reviewed: https:/ /review. openstack. org/49245 github. com/openstack/ nova/commit/ 3a5e1faee04671f 2e88b28d805b191 b480054254
Committed: http://
Submitter: Jenkins
Branch: master
commit 3a5e1faee04671f 2e88b28d805b191 b480054254
Author: Dan Smith <email address hidden>
Date: Tue Oct 1 12:12:13 2013 -0700
Avoid spamming conductor logs with object exceptions
Conductor's logs should include tracebacks only when something class_action( ) methods
unexpected happened, which is why we have the client_exceptions()
decorator. The object_action() and object_
are used for direct remoting of object methods, and thus really
should forward *any* exception to the client.
This patch does that, and also adds missing tests for these two
methods to verify the normal and exception-wrapped behavior.
Closes-bug: #1233789 a68e7b8a08ec2b7 04bf18d029c
Closes-bug: #1084706
Change-Id: I505462fa429a6a