Fix log in get_allocated_nodes to mention role