Comment 5 for bug 1029132

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/10366
Committed: http://github.com/openstack/nova/commit/27826a84cc603772dd4fb9fc7360b27e0f52b322
Submitter: Jenkins
Branch: master

commit 27826a84cc603772dd4fb9fc7360b27e0f52b322
Author: Kevin L. Mitchell <email address hidden>
Date: Thu Jul 26 13:49:09 2012 -0500

    Allow power_off when instance doesn't exist

    Certain errors that can occur while booting an instance may leave no
    VM on the Xen hypervisor. This can make that instance undeletable,
    since the first step in soft_delete() is to power_off the instance,
    and nothing catches the NotFound error thrown if the instance doesn't
    exist. The libvirt support handles the case of a non-existant
    instance by ignoring NotFound--after all, a non-existant instance is,
    by definition, powered off, right?

    Fixes bug 1029132.

    Change-Id: I5bffe3b61fe92fc32fb70cab941fa5ecd250df77