You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/04/27 13:05:56 UTC

[incubator-datalab] branch DATALAB-2340 updated: [DATALAB-2340]: added additional output

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2340
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2340 by this push:
     new f1c677f  [DATALAB-2340]: added additional output
f1c677f is described below

commit f1c677f3195443598af08504945a79c3de523dc6
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Apr 27 16:05:40 2021 +0300

    [DATALAB-2340]: added additional output
---
 .../src/general/scripts/azure/ssn_terminate.py                        | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
index 38949eb..225e72b 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
@@ -49,6 +49,10 @@ def terminate_ssn_node(resource_group_name, service_base_name, vpc_name, region)
         for network_interface in AzureMeta.list_network_interfaces(resource_group_name):
             print("======1")
             print(network_interface)
+            print("======2")
+            print(network_interface.tags)
+            if "SBN" not in network_interface.tags:
+                print('======3')
             if service_base_name == network_interface.tags["SBN"]:
                 AzureActions.delete_network_if(resource_group_name, network_interface.name)
                 print("Network interface {} has been removed".format(network_interface.name))

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org