[Openstack] Unable to publish an image on debian 6

Johannes Erdfelt johannes at erdfelt.com
Tue Aug 16 15:13:51 UTC 2011


On Mon, Aug 15, 2011, Vishvananda Ishaya <vishvananda at gmail.com> 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





More information about the Openstack mailing list