cinder-volume fails to start on resume deletes where a volume DNE

Bug #1322340 reported by Mike Perez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Mike Perez
Havana
Fix Released
Undecided
Unassigned

Bug Description

When starting up cinder-volume, it'll resume volumes with a status of 'deleting'. This sequentially deletes the volumes, to where the volume could be deleted by the time it gets around to it. See attachment for stacktrace.

Revision history for this message
Mike Perez (thingee) wrote :
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/95020

Changed in cinder:
assignee: nobody → Mike Perez (thingee)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit b8a064f10a4dad097ef40f401015897cf9b424c3
Author: Mike Perez <email address hidden>
Date: Thu May 22 14:29:06 2014 -0700

    Handle volumes no longer existing in resume delete

    init_host resumes deletes for volumes with a status of 'deleting'. It
    does these sequentially, and sometimes a volume could be deleted under
    it, causing a bad stacktrace. This will gracefully handle those
    situations and move on. Added coverage for resume volume delete being
    successful as well.

    Change-Id: I5b30265609b65804f2da77d9daa84b640de7939c
    Closes-Bug: #1322340

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/107782

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/havana)

Reviewed: https://review.openstack.org/107782
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=4d58294b485447d4c43688b800e643dc985cf55c
Submitter: Jenkins
Branch: stable/havana

commit 4d58294b485447d4c43688b800e643dc985cf55c
Author: Mike Perez <email address hidden>
Date: Thu May 22 14:29:06 2014 -0700

    Handle volumes no longer existing in resume delete

    init_host resumes deletes for volumes with a status of 'deleting'. It
    does these sequentially, and sometimes a volume could be deleted under
    it, causing a bad stacktrace. This will gracefully handle those
    situations and move on. Added coverage for resume volume delete being
    successful as well.

    Change-Id: I5b30265609b65804f2da77d9daa84b640de7939c
    Closes-Bug: #1322340
    (cherry picked from commit b8a064f10a4dad097ef40f401015897cf9b424c3)

tags: added: in-stable-havana
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.