cascade delete in cinderclient is working incorrect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Medium
|
wanghao |
Bug Description
Now we have implemented cascade deleting in cinderclient, but argument "--cascade" is not working correctly.
Reproduce step:
1.Create volume and snapshot with it:
cinder snapshot-list
+------
| ID | Volume ID | Status | Name | Size |
+------
| 0be3d952-
+------
2.Delete this volume with "--cascade false/False", it should be failed, but now we can delete the volume and snapshot successfully:
cinder delete --cascade false 6ede3a57-
Request to delete volume 6ede3a57-
cinder snapshot-list
+------
| ID | Volume ID | Status | Name | Size |
+------
| 0be3d952-
+------
Changed in cinder: | |
assignee: | nobody → wanghao (wanghao749) |
milestone: | none → newton-1 |
affects: | cinder → python-cinderclient |
Changed in python-cinderclient: | |
milestone: | newton-1 → none |
tags: | added: python-cinderclient |
Changed in python-cinderclient: | |
importance: | Undecided → High |
Changed in python-cinderclient: | |
importance: | High → Medium |
Changed in python-cinderclient: | |
milestone: | none → 1.7.0 |
Fix proposed to branch: master /review. openstack. org/320809
Review: https:/