From 16e913aaca513d97e2a84916db406a3aa1abcb18 Mon Sep 17 00:00:00 2001 From: Tian Xia Date: Sun, 22 Oct 2023 23:04:56 -0700 Subject: [PATCH] [UX] Make retry clean up security group silent (#2728) * make it silent * lint --- sky/provision/aws/instance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sky/provision/aws/instance.py b/sky/provision/aws/instance.py index 284fbd262ac..60e59cf4185 100644 --- a/sky/provision/aws/instance.py +++ b/sky/provision/aws/instance.py @@ -698,7 +698,8 @@ def cleanup_ports( sg.delete() except aws.botocore_exceptions().ClientError as e: if _DEPENDENCY_VIOLATION_PATTERN.findall(str(e)): - logger.info(f'Security group {sg_name} is still in use. Retry.') + logger.debug( + f'Security group {sg_name} is still in use. Retry.') time.sleep(backoff.current_backoff()) continue raise