api-ref: delete volume precondition is missing some more status conditions

Bug #1774280 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Dongcan Ye

Bug Description

https://developer.openstack.org/api-ref/block-storage/v3/#delete-a-volume

It says:

"Volume status must be available, in-use, error, or error_restoring."

But a recent failure shows more than that:

http://logs.openstack.org/53/570653/1/check/legacy-tempest-dsvm-full-devstack-plugin-ceph/c5d03e7/logs/screen-c-api.txt.gz#_2018-05-30_04_41_07_306

2018-05-30 04:41:07.306 28907 INFO cinder.volume.api [req-1d9e59c7-35d3-4c08-b0a9-c31de0f7f4a0 tempest-VolumesBackupsTest-1642583329 tempest-VolumesBackupsTest-1642583329] Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group or have snapshots.

Dongcan Ye (hellochosen)
Changed in cinder:
assignee: nobody → Dongcan Ye (hellochosen)
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/575888

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

Reviewed: https://review.openstack.org/575888
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=9e490e25a3cb9e4a2c83a560fdfb2afca3fd597c
Submitter: Zuul
Branch: master

commit 9e490e25a3cb9e4a2c83a560fdfb2afca3fd597c
Author: Dongcan Ye <email address hidden>
Date: Sat Jun 16 03:34:48 2018 +0000

    api-ref: Rephrase delete volume precondition

    Change-Id: Ibab0cb257a17a1af37d522348f517185b80dfabc
    Closes-Bug: #1774280

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 13.0.0.0b3

This issue was fixed in the openstack/cinder 13.0.0.0b3 development milestone.

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.