NetApp E-Series: Deleting a Cinder volume with a missing backend volume fails

Bug #1502166 reported by Michael Price
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Michael Price

Bug Description

If the backend volume is missing/deleted/removed, deleting the Cinder volume will fail, and cause it to move to error_deleting status. This is a regression.

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

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

Changed in cinder:
assignee: nobody → Michael Price (michael-price-q)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/235974
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=5cbf00b624e6c2bb8597d82640a1cb61b9405ba6
Submitter: Jenkins
Branch: master

commit 5cbf00b624e6c2bb8597d82640a1cb61b9405ba6
Author: Michael Price <email address hidden>
Date: Wed Sep 30 13:56:56 2015 -0500

    NetApp: E-Series fix deletion of missing volume

    When a Cinder volume is deleted but the backend volume is missing,
    an exception was being thrown, rather than swallowed and being logged.
    A KeyError was being expected, but a VolumeNotFound exception was
    actually being raised.

    This patch catches the VolumeNotFound exception, and logs a debug
    message if the volume could not be deleted from the backend (because
    it no longer exists). This patch restores compatibility with older
    versions where an exception would not be thrown.

    Closes-Bug: 1502166
    Change-Id: I47a8d9b408fc4ac7fae30f043b0dfca0bb763d8d

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/cinder 8.0.0.0b1

This issue was fixed in the openstack/cinder 8.0.0.0b1 development milestone.

Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
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.