'Untag the instance so it no longer belongs to the host.
This should be done while the COMPUTE_RESOURCES_SEMAPHORE is held so
the resource claim will not be lost if the audit process starts.'

def _unset_instance_host_and_node(self, instance):

    instance.host = None
    instance.node = None
    instance.save()
