[impl_zmq]: allowed_remote_exmods not used in _multi_send

Bug #1330460 reported by Elena Ezhova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.messaging
Fix Released
Low
Elena Ezhova

Bug Description

allowed_remote_exmods which is passed to _multi_send method in impl_zmq.py is not passed further to _call, _cast, etc.

return_val = method(_addr, context, _topic, msg, timeout, envelope)

Due to that, all remote exceptions, that are supposed to be expected, are wrapped into messaging.RemoteError exception with all details of the remote exception.

Tags: zmq
Elena Ezhova (eezhova)
Changed in oslo.messaging:
assignee: nobody → Elena Ezhova (eezhova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.messaging (master)

Fix proposed to branch: master
Review: https://review.openstack.org/100236

Changed in oslo.messaging:
status: New → In Progress
Mark McLoughlin (markmc)
tags: added: zmq
Changed in oslo.messaging:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (master)

Reviewed: https://review.openstack.org/100236
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=210ec5003df3fc0505f658ff233d062688d93255
Submitter: Jenkins
Branch: master

commit 210ec5003df3fc0505f658ff233d062688d93255
Author: Elena Ezhova <email address hidden>
Date: Mon Jun 16 16:14:19 2014 +0400

    Handle unused allowed_remote_exmods in _multi_send

    allowed_remote_exmods which is passed to _multi_send method in
    impl_zmq.py is not passed further to _call, _cast, etc.

    Due to that, all remote exceptions, that are supposed to be
    expected, are wrapped into messaging.RemoteError exception with
    all details of the remote exception.

    To fix this allowed_remote_exmods needs to be passed as a
    parameter in a called method().

    Change-Id: If1dc2f85eab6f542bc21961b9d5c0bd0ab64add2
    Closes-Bug: 1330460

Changed in oslo.messaging:
status: In Progress → Fix Committed
Changed in oslo.messaging:
milestone: none → juno-2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.