commit b64ea7c2cb76c476a178deeed6ab9e83676faf05
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/51075 github. com/openstack/ nova/commit/ b64ea7c2cb76c47 6a178deeed6ab9e 83676faf05
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit b64ea7c2cb76c47 6a178deeed6ab9e 83676faf05
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 2e88b28d805b191 b480054254)
Closes-bug: #1084706
Change-Id: I505462fa429a6a
(cherry picked from commit 3a5e1faee04671f