-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[autoscaler] SubnetId, a valid AWS field, is being ignored in cluster yaml #14551
Comments
cc @wuisawesome , @richardliaw |
"support all AWS fields" is vague.
cc @AmeerHajAli |
@wuisawesome good point, rephrased for precision :) |
@pcmoritz please triage so this doesn't get forgotten ;) |
@architkulkarni I am hitting the same issue on cloud launcher. If users have more than one subnets, it is not easy to deploy a Ray cluster to the target subnet, all by chance. Could we please prioritize the fix? |
Thanks @xieus , I'll see if we can prioritize it. |
@xieus does this unblock you in the meantime? #12530 (comment) |
@xieus the short term mitigation here is to provide a |
Right. I tried that but only providing SubnetIds doesn't work. We have to provide SecurityGroupIds, and then either set use_internal_ips as true, or make the target subnet's mapPublicIpOnLaunch property true (after reading the cloud launcher source codes). All of the desirable parameters are hidden from users. I would recommend updating Ray OSS documents or at least this thread with an example, which shows the following setup: This setup could give user a good example if they want to expand to more complicated setup. @architkulkarni @wuisawesome |
I followed this yaml file: https://docs.ray.io/en/latest/cluster/vms/references/ray-cluster-configuration.html#full-configuration, which works only in the scenario of unspecified SubnetId, and cloud launch picks one for user although the criteria is random from user perspective. We currently don't have a working example that allows users to specify a subnet and just work. |
What is the problem?
Cluster config docs say that you can put any valid AWS field in NodeConfig. But, putting
SubnetId
is silently ignored.This issue has already been raised before; see #12530 . This new issue is not to find a workaround, but to fix the documentation/implementation mismatch.
My suggested fix (only to start discussion, not volunteering 😅 ) is the following:
Reproduction (REQUIRED)
(From #12530.)
The text was updated successfully, but these errors were encountered: