Volume API response should list dependent snapshots

Bug #1111839 reported by Gabriel Hurley
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Medium
Ivan Kolodyazhny

Bug Description

A volume cannot be deleted if it has dependent snapshots, yet when doing a doing a GET /volumes/ or even a GET /volumes/detail there's no indication that the volume has dependent snapshots, let alone which ones they are. Thereby the only way to discover that a volume has snapshots which depend on it is to attempt to delete and have it fail, or to list all snapshots and see if the volume's id appears anywhere. This is a terrible user experience.

Mike Perez (thingee)
Changed in cinder:
status: New → Triaged
assignee: nobody → Mike Perez (thingee)
Revision history for this message
Rushi Agrawal (rushiagr) wrote :

Mike, you have a plan to address this bug? I am willing to contribute to this issue, and want to discuss the possible directions to address it.

Changed in cinder:
assignee: Mike Perez (thingee) → xiaoxi_chen (xiaoxi-chen)
status: Triaged → In Progress
Mike Perez (thingee)
Changed in cinder:
assignee: Xiaoxi Chen (xiaoxi-chen) → nobody
status: In Progress → Triaged
tags: added: api low-hanging-fruit
Liusheng (liusheng)
Changed in cinder:
assignee: nobody → Liusheng (liusheng)
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Liusheng, do you plan to work on this issue? It's important for me and I would like to contribute to it

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

Changed in cinder:
assignee: Liusheng (liusheng) → Ivan Kolodyazhny (e0ne)
status: Triaged → In Progress
Jay Bryant (jsbryant)
Changed in cinder:
importance: Undecided → Medium
Mike Perez (thingee)
Changed in cinder:
milestone: none → kilo-3
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Since this is a feature-request not bug, I mark this as Invalid and move to the blueprint: https://blueprints.launchpad.net/cinder/+spec/volume-details-views

Changed in cinder:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to cinder-specs (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/156292

Thierry Carrez (ttx)
Changed in cinder:
milestone: kilo-3 → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder-specs (master)

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: master
Review: https://review.openstack.org/156292

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: master
Review: https://review.openstack.org/144739

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.