-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Description
What is the problem?
commands.get_or_create_head_node is on the K8s operator's code path.
This method tries to copy a cluster config to the Ray head node, which is unnecessary for the operator.
The copy fails when running the operator on OpenShift which prevents the operator from working.
See #13567 (comment).
The solution is to modify commands.get_or_create_head_node to allow the operator to circumvent the violating rsync command.
Ray version and other system information (Python version, TensorFlow version, OS):
Reproduction (REQUIRED)
Please provide a short code snippet (less than 50 lines if possible) that can be copy-pasted to reproduce the issue. The snippet should have no external library dependencies (i.e., use fake or mock data / environments):
If the code snippet cannot be run by itself, the issue will be closed with "needs-repro-script".
- I have verified my script runs in a clean environment and reproduces the issue.
- I have verified the issue also occurs with the latest wheels.