OpenStack Compute (Nova)

libvirt unrescue doesn't cleanup rescue images

Reported by Dan Prince on 2012-02-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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) on 2012-02-26
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
importance: Undecided → Low
Brian Waldon (bcwaldon) on 2012-02-26
Changed in nova:
milestone: none → essex-4

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) on 2012-02-29
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers