VDI cleanup needs to shutdown VM first

Bug #943453 reported by Rick Harris
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Rick Harris

Bug Description

If an exception is raised after the VM spawn, in the configuration phase, this error can be generated:

http://paste.openstack.org/show/5490/

This comes about b/c we're trying to remove a VDI from a successfully spawned VM.

The solution here is to shutdown the VM and remove the VM before cleaning up the VDIs.

Only XenAPI.Failure, IOError and OSErrors will trigger this.

Changed in nova:
assignee: nobody → Rick Harris (rconradharris)
importance: Undecided → High
status: New → In Progress
description: updated
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/4713

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

Reviewed: https://review.openstack.org/4713
Committed: http://github.com/openstack/nova/commit/b6a175664042dfd486fa6217b5e199a46dacefb6
Submitter: Jenkins
Branch: master

commit b6a175664042dfd486fa6217b5e199a46dacefb6
Author: Rick Harris <email address hidden>
Date: Wed Feb 29 18:39:13 2012 +0000

    Destroy VM before VDIs during spawn cleanup

    Fixes bug 943453

    Change-Id: I65fd4c61f9f91abeb04d0d1956506a1c69cef72e

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