This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2998
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2998 by this push:
new 612f9cc1c [DATALAB-2998]: added kernel removal
612f9cc1c is described below
commit 612f9cc1c653bd12756425ece59345ef03c1e55c
Author: leonidfrolov <[email protected]>
AuthorDate: Thu Sep 22 15:35:02 2022 +0300
[DATALAB-2998]: added kernel removal
---
.../scripts/azure/common_notebook_configure_dataengine-service.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/infrastructure-provisioning/src/general/scripts/azure/common_notebook_configure_dataengine-service.py
b/infrastructure-provisioning/src/general/scripts/azure/common_notebook_configure_dataengine-service.py
index 7a15da449..3bd9c05d1 100644
---
a/infrastructure-provisioning/src/general/scripts/azure/common_notebook_configure_dataengine-service.py
+++
b/infrastructure-provisioning/src/general/scripts/azure/common_notebook_configure_dataengine-service.py
@@ -38,8 +38,9 @@ def clear_resources():
for storage_account in
AzureMeta.list_storage_accounts(notebook_config['resource_group_name']):
if notebook_config['storage_account_name_tag'] ==
storage_account.tags["Name"]:
AzureActions.remove_storage_account(notebook_config['resource_group_name'],
storage_account.name)
- # AzureActions.remove_kernels(notebook_config['notebook_name'],
notebook_config['cluster_name'],
- # os.environ['dataproc_version'],
os.environ['conf_os_user'], notebook_config['key_path'])
+
AzureActions.remove_dataengine_kernels(notebook_config['resource_group_name'],
+ notebook_config['notebook_name'],
os.environ['conf_os_user'],
+ notebook_config['key_path'],
notebook_config['cluster_name'])
if __name__ == "__main__":
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]