'Silently delete a volume from CG.
silently delete a volume in case of an immediate failure
within a function that created it.'

def _silent_delete_volume_from_cg(self, volume, cgname):

    try:
        self._call_xiv_xcli('cg_remove_vol', vol=volume['name'])
    except errors.XCLIError as e:
        LOG.error('Failed    removing    volume    %(vol)s    from    consistency    group    %(cg)s:    %(err)s', {'vol': volume['name'], 'cg': cgname, 'err': self._get_code_and_status_or_message(e)})
    self._silent_delete_volume(volume=volume)
