Missing exception data for exceptions raised in resize methods

Bug #1119817 reported by Alessandro Pilotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Dan Smith

Bug Description

Any exception raised in:

migrate_disk_and_power_off
confirm_migration
finish_revert_migration
finish_migration

Results in:

TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType

See full stack trace here: http://paste.openstack.org/show/30832/

Due to this issue it's not possible to collect data on the source of the issue.
The workaround consists in logging and re-raising the original exception:

try:
...
except Exception, ex:
    LOG.exception(ex)
     raise

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

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

Changed in nova:
assignee: nobody → Dan Smith (danms)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/21561
Committed: http://github.com/openstack/nova/commit/4a68c5e4ab92daa31d8af47a91a2d8e45c185817
Submitter: Jenkins
Branch: master

commit 4a68c5e4ab92daa31d8af47a91a2d8e45c185817
Author: Dan Smith <email address hidden>
Date: Fri Feb 8 21:32:20 2013 -0500

    More conductor support for resizes

    This patch adds more support for resizes to conductor, which apparently
    are not getting tested in the "full" tempest gate.

    This adds network_migrate_instance_{start,finish}() calls to conductor,
    which offloads the network_api calls of similar name over RPC for
    components that can't take the DB hit of calling network_api directly.
    Also, in quota, the commit and rollback calls hit the database, so
    export those from conductor as well.

    This is likely the source of the failures in bug 1119817

    Change-Id: I56bb65b0e168e36e138cf6bf125d6e83bf71f50b

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