local delete of an instance fails if an attached volume no longer exists

Bug #1224546 reported by Phil Day
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Phil Day

Bug Description

_local_delete() in compute/api.py (called when a compute host is not available) should trap and ignore VolumeNotFound exceptions. Currently it fails the delete instead.

Phil Day (philip-day)
Changed in nova:
assignee: nobody → Phil Day (philip-day)
Matt Riedemann (mriedem)
tags: added: api volumes
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/46534

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

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

commit 8e304db5497d2b31d711fc16433b624d5c1d13c6
Author: Phil Day <email address hidden>
Date: Fri Sep 13 16:22:46 2013 +0000

    Catch volume errors during local delete

    The delete code in compute/manager.py has a catch-all exception
    handler for any volume related errors that occur during deletion.
    This change brings the local_delete() method in compute/api.py
    in line with that.

    Fixes bug: 1224546

    Change-Id: I399075f29d202355b28e7da1b2f1a29a66c86a4e

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
Matt Riedemann (mriedem) wrote :

This might be a havana-backport-potential for bug 1244257.

tags: added: havana-backport-potential
Changed in nova:
importance: Undecided → High
Changed in nova:
milestone: none → icehouse-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-1 → 2014.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.