If you want to delete a share (with the generic driver) and the underlying volume was already delete (i.e. by hand with cinder delete) the share can not be deleted:
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher [req-2273c9e8-f470-4ba7-bd78-fab24a276521 ] Exception during message handling: Volume 75115b51-c437-4f29-8ee1-f489b0ac5047 could not be found.
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher executor_callback))
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher executor_callback)
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/manila/share/manager.py", line 593, in delete_share_instance
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher {'status': constants.STATUS_ERROR_DELETING})
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 119, in __exit__
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/manila/share/manager.py", line 587, in delete_share_instance
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher share_server=share_server)
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/manila/share/drivers/generic.py", line 685, in delete_share
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher self._deallocate_container(self.admin_context, share)
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/manila/share/drivers/generic.py", line 528, in _deallocate_container
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher volume = self._get_volume(context, share['id'])
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/manila/share/drivers/generic.py", line 387, in _get_volume
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher return self.volume_api.get(context, volume_id)
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/manila/volume/cinder.py", line 181, in wrapper
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher raise exception.VolumeNotFound(volume_id=volume_id)
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher VolumeNotFound: Volume 75115b51-c437-4f29-8ee1-f489b0ac5047 could not be found.
2015-08-27 18:57:58.757 22374 ERROR oslo_messaging.rpc.dispatcher
2015-08-27 18:58:02.718 22374 DEBUG oslo_service.loopingcall [req-716a5a28-0aa2-4049-88bc-71241575bc4b ] Fixed interval looping call 'manila.service.Service.report_state' sleeping for 9.99 seconds _run_loop /usr/lib/python2.7/site-packages/oslo_service/loopingcall.py:121
Fix proposed to branch: master /review. openstack. org/217863
Review: https:/