XenAPI driver leaks VDI when image includes swap.vhd

Bug #889196 reported by Johannes Erdfelt on 2011-11-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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 Edit Tag help

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
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

Sure, I'll pick this up.

Changed in nova:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)

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

Changed in nova:
status: Confirmed → In Progress

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) on 2012-02-29
Changed in nova:
milestone: none → essex-4
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