Comment 4 for bug 1084707

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo-incubator (master)

Reviewed: https://review.openstack.org/17555
Committed: http://github.com/openstack/oslo-incubator/commit/15ae704d927ba2ecd97d29195d30d5587987e2ad
Submitter: Jenkins
Branch: master

commit 15ae704d927ba2ecd97d29195d30d5587987e2ad
Author: Dan Smith <email address hidden>
Date: Wed Dec 5 12:22:40 2012 -0800

    Allow exceptions to pass over RPC silently

    When one service performs an operation on behalf of another, the
    act of passing back an exception (even a known one) causes a lot
    of scary log messages about the (presumed to be) error case. This
    patch adds a client_exceptions decorator common/rpc/common.py,
    which allows RPC services to declare the list of expected exceptions
    for each method. If such an exception is raised during the RPC
    dispatch, it is wrapped in a ClientException so that the RPC layer
    can gracefully pass it back without overly-verbose logging.

    This will allow us to fix nova bug 1084707

    Change-Id: I4e7b19dc730342091fd70a717065741d56da4555