← Back to team overview

openstack team mailing list archive

Re: Unable to publish an image on debian 6

 

On Mon, Aug 15, 2011, Vishvananda Ishaya <vishvananda@xxxxxxxxx> wrote:
> I pushed a new version of that branch with the suggested change.  The
> recent change to our db library to make it use eventlet is stealing the
> stack trace, so we can't reraise the same exception.  The branch now
> logs the exception and returns instead of trying to reraise it.

It's possible to reraise the exception. You just need to save it first,
before executing any code in the exception handler that might clobber
it. I had to implement a similar fix for nova/exception.py recently.

See this patch for an example:

http://bazaar.launchpad.net/~hudson-openstack/nova/trunk/revision/1395

JE



References