Description of problem: The deletion of a snapshot failed with the error in cinder's volume.log 2015-12-02 11:10:49.546 21948 ERROR cinder.volume.manager [req- ... - - -] Delete snapshot failed, due to snapshot busy. Earlier, a volume was created from the snapshot, while the volume is active (available or attached to an instance) the snapshot cannot be deleted and there's no message to the client notifying - the deletion failed. Version-Release number of selected component (if applicable): openstack-cinder-7.0.0-2.el7ost.noarch python-cinderclient-1.4.0-1.el7ost.noarch python-cinder-7.0.0-2.el7ost.noarch How reproducible: 100% Steps to Reproduce: 1. Create a volume # cinder create --display-name base 1 2. Create a snapshot from the volume # cinder snapshot-create --name snap <base uuid> 3. Create a volume from the snapshot # cinder create --snapshot-id <snap uuid> --display-name from-snap 1 4. Attempt to delete the snapshot # cinder snapshot-delete <snap uuid> Actual results: The snapshot is available and there's no message from the client Expected results: Either the snapshot will be deleted or the Cinder's client will provide a message notifying - the action failed. Additional info:
Jon, Please, take a look.
Yeah... This is not "fixed" in my opinion, we can do much better in reporting the reason. The driver is correct in rejecting the delete request from the user, but the user should receive better indication. I'm not sure what this looks like from Horizon and thus what the priority of this cli issue is.
Given that cinder is functionally doing the correct thing and only the admin using the command line tool will be a bit confused, and a user would not ever see this, I think we should let it go. If you disagree please reopen.