[Autoscaler] Retry create_instances properly in AWSNodeProvider (#10479)

This commit is contained in:
Yiran Wang 2020-09-01 16:17:11 -07:00 committed by GitHub
parent 23bbe0f36a
commit 2b95b613f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -368,8 +368,9 @@ class AWSNodeProvider(NodeProvider):
BOTO_CREATE_MAX_RETRIES)
raise exc
else:
# todo: err msg
cli_logger.abort(exc)
cli_logger.print(
"create_instances: Attempt failed with {}, retrying.",
exc)
cli_logger.old_error(logger, exc)
def terminate_node(self, node_id):