This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch epm-v2.5.2.1 in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 3bbcc458301196ce3948e81985a6342b506d237c Author: leonidfrolov <[email protected]> AuthorDate: Thu Oct 13 11:15:23 2022 +0300 [DATALAB-3073]: removed instance terminate if client creation fails --- .../src/general/scripts/azure/jupyter_configure.py | 2 -- .../src/general/scripts/gcp/jupyter_configure.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/infrastructure-provisioning/src/general/scripts/azure/jupyter_configure.py b/infrastructure-provisioning/src/general/scripts/azure/jupyter_configure.py index 4ebbb60b3..3411fa862 100644 --- a/infrastructure-provisioning/src/general/scripts/azure/jupyter_configure.py +++ b/infrastructure-provisioning/src/general/scripts/azure/jupyter_configure.py @@ -326,8 +326,6 @@ if __name__ == "__main__": except Exception as err: datalab.fab.append_result("Failed setup keycloak client ", str(err)) - GCPActions.remove_instance(notebook_config['instance_name'], notebook_config['zone']) - sys.exit(1) try: logging.info('[SETUP EDGE REVERSE PROXY TEMPLATE]') diff --git a/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py index 04cbcba92..17e3007ad 100644 --- a/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py +++ b/infrastructure-provisioning/src/general/scripts/gcp/jupyter_configure.py @@ -268,8 +268,6 @@ if __name__ == "__main__": except Exception as err: datalab.fab.append_result("Failed setup keycloak client ", str(err)) - GCPActions.remove_instance(notebook_config['instance_name'], notebook_config['zone']) - sys.exit(1) if os.environ['gpu_enabled'] == 'True': try: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
