XenAPI driver leaks VDI when image includes swap.vhd

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

Bug Description

While trying to reproduce another unrelated bug, I ran a script to build instances and delete them over and over again. After creating and deleting 2353 instances, I was left with 2353 orphaned VDIs. The new vm_vdi_cleaner.py script is doing a good job of cleaning up the orphaned VDIs, but they shouldn't be left around in the first place.

Tags: xen
Revision history for this message
Johannes Erdfelt (johannes.erdfelt) wrote :

This may only be when an image includes a swap.vhd file

summary: - XenAPI driver leaks 1 VDI per instance
+ XenAPI driver leaks VDI when image includes swap.vhd
Revision history for this message
Brian Waldon (bcwaldon) wrote :

Do you think this is something you could address, Johannes?

Changed in nova:
status: New → Confirmed
importance: Undecided → Low
tags: added: xen
Revision history for this message
Johannes Erdfelt (johannes.erdfelt) wrote :

Sure, I'll pick this up.

Changed in nova:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)
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/3752

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/3752
Committed: http://github.com/openstack/nova/commit/8f5039615826539dca4e5532185d6c03e386dd87
Submitter: Jenkins
Branch: master

commit 8f5039615826539dca4e5532185d6c03e386dd87
Author: Johannes Erdfelt <email address hidden>
Date: Fri Feb 3 18:03:39 2012 +0000

    Delete swap VDI if not used

    Fixes bug 889196

    Change-Id: I08f4484310c5a35e62ca761193790a464ad15ac9

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