Comment 3 for bug 1055095

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

Reviewed: https://review.openstack.org/13542
Committed: http://github.com/openstack/nova/commit/4a97a743c41e53d7278590e75913ff761ea319db
Submitter: Jenkins
Branch: master

commit 4a97a743c41e53d7278590e75913ff761ea319db
Author: Vishvananda Ishaya <email address hidden>
Date: Sun Sep 23 17:13:44 2012 +0000

    Allow deletion of instance with failed vol cleanup

    If something goes wrong when trying to delete volumes that have
    been marked delete_on_terminate, we leave an instance record in
    the database that can't be removed even though the instance is
    gone.

    Intelligent recovery at this point is very difficult, so for now
    just log a warning and let the instance be deleted. It is unfortunate
    that there isn't a good way to let the user know that his volume
    was not deleted, but this seems preferable to leaving an undeletable
    instance.

    A test is included to verify the behavior, as well as a note so that
    a better fix can be included later.

    Fixes bug 1055095

    Change-Id: I26e801fc3e9c56cf84d2b977295fcf580428879a