def ex_clean_failed_deployment(self, node):
        node_id = self._node_to_node_id(node)
        request_elm = ET.Element('cleanServer',
                                 {'xmlns': TYPES_URN, 'id': node_id})
        body = self.connection.request_with_orgId_api_2(
            'server/cleanServer',
            method='POST',
            data=ET.tostring(request_elm)).object
        response_code = findtext(body, 'responseCode', TYPES_URN)
        return response_code in ['IN_PROGRESS', 'OK']
Removes a node that has failed to deploy
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_clean_failed_deployment