when we fail to delete a volume because of snapshot dependency, error message should print the snapshot ID:
root@opens-vdsb ~(keystone_admin)]# cinder list
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| 7b7acdc1-c1fe-4654-93f9-7c3afc03b395 | available | test | 10 | None | false | |
| fece4bd4-0a96-4bd3-8661-101dcbce8e28 | available | bla | 10 | None | false | |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
[root@opens-vdsb ~(keystone_admin)]# cinder delete 7b7acdc1-c1fe-4654-93f9-7c3afc03b395
ERROR: Invalid volume: Volume still has 2 dependent snapshots
done with code changes, facing some issues in git review, not able to connect review. openstack. org
i'll mark for review once done with commit & review step
Thanks,
Sandeep