Cinder fails to delete error state volumes on Windows

Bug #1304516 reported by Lucian Petrut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Lucian Petrut
Icehouse
Fix Released
High
Chuck Short

Bug Description

If the volume creation fails, we won't be able to delete the volume. It will go from error state to error-deleting. The reason is that the delete_volume method fails when the iSCSI disk does not exist. In fact, it should skip deleting the disk if it does not exist.

Trace: http://paste.openstack.org/show/75340/

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/86087

Changed in cinder:
assignee: nobody → Petrut Lucian (petrutlucian94)
status: New → In Progress
Jay Bryant (jsbryant)
Changed in cinder:
importance: Undecided → High
tags: added: icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/86087
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=131777688562b1ec020327067d89da1535b99640
Submitter: Jenkins
Branch: master

commit 131777688562b1ec020327067d89da1535b99640
Author: Lucian Petrut <email address hidden>
Date: Tue Apr 8 19:35:10 2014 +0300

    Fixes cinder error state volume delete on Windows

    If the volume creation fails and the iSCSI disk is not created,
    trying to delete the error state volume will fail on Windows.

    Deleting the iSCSI disk must be skipped when it does not exist.

    Change-Id: I2cd615e71fe457c241bea207c4bd8904c1ffd9cb
    Closes-Bug: #1304516

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to cinder (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/89571

Alan Pevec (apevec)
tags: removed: icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/icehouse)

Reviewed: https://review.openstack.org/89571
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=d0602f6f2a32e2038bb27d77d3671b3dabedae5a
Submitter: Jenkins
Branch: stable/icehouse

commit d0602f6f2a32e2038bb27d77d3671b3dabedae5a
Author: Lucian Petrut <email address hidden>
Date: Tue Apr 8 19:35:10 2014 +0300

    Fixes cinder error state volume delete on Windows

    If the volume creation fails and the iSCSI disk is not created,
    trying to delete the error state volume will fail on Windows.

    Deleting the iSCSI disk must be skipped when it does not exist.

    Change-Id: I2cd615e71fe457c241bea207c4bd8904c1ffd9cb
    Closes-Bug: #1304516
    (cherry picked from commit 131777688562b1ec020327067d89da1535b99640)

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