'Remove usage from the given instance.'

@utils.synchronized(COMPUTE_RESOURCE_SEMAPHORE)
def abort_instance_claim(self, context, instance, nodename):

    self._update_usage_from_instance(context, instance, nodename, is_removed=True)
    instance.clear_numa_topology()
    self._unset_instance_host_and_node(instance)
    self._update(context.elevated(), self.compute_nodes[nodename])
