imporve exception handles inside spawn

Bug #1340708 reported by Zang MingJie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Zang MingJie

Bug Description

eventlet pool will discards all exception raised inside spawn(_n), it is hard to discover problems inside spawned green-threads, it is better to add a function wrapper to log the exceptions raised inside spawned function.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
assignee: nobody → Zang MingJie (zealot0630)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/106362
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7d869a02b8245dbf9d22ddf73ff810d055581730
Submitter: Jenkins
Branch: master

commit 7d869a02b8245dbf9d22ddf73ff810d055581730
Author: Zang MingJie <email address hidden>
Date: Wed Jul 16 15:41:45 2014 +0800

    Log exceptions inside spawned functions

    eventlet pool will discards all exception raised inside spawn(_n), it is
    hard to discover problems inside spawned green-threads, it is better to
    add a function wrapper to log the exceptions raised inside spawned
    function.

    Change-Id: I753df36c4614759f49134667a55f2a91f0c08317
    Closes-bug: #1340708

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-3 → 2014.2
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.