mirror of
https://github.com/vale981/ray
synced 2025-03-08 19:41:38 -05:00
[Autoscaler] Retry create_instances properly in AWSNodeProvider (#10479)
This commit is contained in:
parent
23bbe0f36a
commit
2b95b613f2
1 changed files with 3 additions and 2 deletions
|
@ -368,8 +368,9 @@ class AWSNodeProvider(NodeProvider):
|
||||||
BOTO_CREATE_MAX_RETRIES)
|
BOTO_CREATE_MAX_RETRIES)
|
||||||
raise exc
|
raise exc
|
||||||
else:
|
else:
|
||||||
# todo: err msg
|
cli_logger.print(
|
||||||
cli_logger.abort(exc)
|
"create_instances: Attempt failed with {}, retrying.",
|
||||||
|
exc)
|
||||||
cli_logger.old_error(logger, exc)
|
cli_logger.old_error(logger, exc)
|
||||||
|
|
||||||
def terminate_node(self, node_id):
|
def terminate_node(self, node_id):
|
||||||
|
|
Loading…
Add table
Reference in a new issue