Can't delete instances using old libvirt (oneiric)

Bug #1051010 reported by Dean Troyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Vish Ishaya

Bug Description

When running with an older libvirt, such as on Ubuntu Oneiric, instance deletion gets stuck in 'deleting' state.

Changed in nova:
importance: Undecided → High
status: New → Triaged
assignee: nobody → Vish Ishaya (vishvananda)
milestone: none → folsom-rc1
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/13040

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

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

commit c6ddff821fef8d9edfc7498dbe19d5794d9adc8f
Author: Vishvananda Ishaya <email address hidden>
Date: Fri Sep 14 10:43:13 2012 -0700

    Allow older versions of libvirt to delete vms

    Libvirt < 0.9.4 doesn't support undefineFlags, so the vms can't be
    deleted. This patch adds a workaround to fallback to the old style
    of undefine if undefineFlags throws an Attribute error. It also
    attempts to remove any managed save images that exist.

    Fixes bug 1051010

    Change-Id: I155fe2ab3be347b1515c5aab4a9233921bd722ca

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: folsom-rc1 → 2012.2
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.