def _unmanage_2(self, volume): LOG.debug("Unmanaging Cinder volume %s. Changing name to %s", volume['id'], datc._get_unmanaged(volume['id'])) data = {'name': datc._get_unmanaged(volume['id'])} self._issue_api_request(datc.URL_TEMPLATES['ai_inst']().format( datc._get_name(volume['id'])), method='put', body=data, api_version='2')