libvirt unrescue doesn't cleanup rescue images

Bug #941591 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Dan Prince

Bug Description

Looks like we are leaving the .unrescue files around after performing an unrescue operation.

After performing an unrescue (the instance goes back to ACTIVE) this is what I see:

[root@nova1 nova]# nova list
+--------------------------------------+------+--------+--------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------+--------+--------------------+
| cb2b759c-7d2e-430d-8de4-89382dbe9c40 | test | ACTIVE | public=192.168.0.2 |
+--------------------------------------+------+--------+--------------------+

[root@nova1 nova]# ls /var/lib/nova/instances/instance-00000008/
console.log disk.rescue kernel.rescue libvirt.xml.rescue ramdisk.rescue
disk kernel libvirt.xml ramdisk

Dan Prince (dan-prince)
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
importance: Undecided → Low
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/4566

Brian Waldon (bcwaldon)
Changed in nova:
milestone: none → essex-4
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit dd6852992b9b63e0cfb387e20f1dae4490c7ead3
Author: Dan Prince <email address hidden>
Date: Sun Feb 26 14:44:20 2012 -0500

    Cleanup .rescue files in libvirt driver unrescue.

    Updates the libvirt driver so that it cleans up the .rescue
    image files in an unrescue operation.

    Fixes LP Bug #941591.

    Change-Id: Ib9f66834b8189912ec8408eeeb0d4ef35d41d39a

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