use allocate_node instead of allocate_node_rpc