'Delete from srp.
:param array: the array serial number
:param device_id: the device id
:param volume_name: the volume name
:param extra_specs: the extra specifications
:raises: VolumeBackendAPIException:'

def _delete_from_srp(self, array, device_id, volume_name, extra_specs):

    try:
        LOG.debug('Delete    Volume:    %(name)s.    device_id:    %(device_id)s.', {'name': volume_name, 'device_id': device_id})
        self.provision.delete_volume_from_srp(array, device_id, volume_name)
    except Exception as e:
        self.masking.add_volume_to_default_storage_group(array, device_id, volume_name, extra_specs)
        error_message = (_('Failed    to    delete    volume    %(volume_name)s.    Exception    received:    %(e)s') % {'volume_name': volume_name, 'e': six.text_type(e)})
        LOG.exception(error_message)
        raise exception.VolumeBackendAPIException(data=error_message)
