'Delete a snapshot.'

def delete_snapshot(self, snapshot):

    try:
        es_snapshot = self._get_snapshot(snapshot)
    except exception.NotFound:
        LOG.warning('Snapshot    %s    already    deleted.', snapshot['id'])
    else:
        os_vol = snapshot['volume']
        vol = self._get_volume(os_vol['name_id'])
        cinder_utils.synchronized(vol['id'])(self._delete_es_snapshot)(es_snapshot)
