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

mykolabodnar pushed a commit to branch DLAB-1485
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1485 by this push:
     new 017ddd0  [DLAB-11485]: [GCP] - SSN fail for test 3
017ddd0 is described below

commit 017ddd0b659c4c0091e09bb08e2ff8c1c74e46e6
Author: Mykola_Bodnar1 <[email protected]>
AuthorDate: Mon Mar 2 14:21:36 2020 +0200

    [DLAB-11485]: [GCP] - SSN fail for test 3
---
 infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py 
b/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
index 0ea2c9b..3d6b5c6 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/ssn_configure.py
@@ -84,7 +84,7 @@ if __name__ == "__main__":
                 pre_defined_firewall = True
                 ssn_conf['firewall_name'] = os.environ['gcp_firewall_name']
         except KeyError:
-            ssn_conf['firewall_name'] = 
'{}-ssn-subnet'.format(ssn_conf['service_base_name'])
+            ssn_conf['firewall_name'] = 
'{}-ssn-firewall'.format(ssn_conf['service_base_name'])
         ssn_conf['subnet_cidr'] = '10.10.1.0/24'
         ssn_conf['ssh_key_path'] = 
'{0}{1}.pem'.format(os.environ['conf_key_dir'], os.environ['conf_key_name'])
         ssn_conf['dlab_ssh_user'] = os.environ['conf_os_user']
@@ -139,6 +139,7 @@ if __name__ == "__main__":
 
         try:
             local("~/scripts/{}.py {}".format('create_ssh_user', params))
+            local("~/scripts/{}.py {}".format('create_ssh_user'))
         except:
             traceback.print_exc()
             raise Exception
@@ -168,7 +169,6 @@ if __name__ == "__main__":
 
         try:
             local("~/scripts/{}.py {}".format('install_prerequisites', params))
-            local("~/scripts/{}.py {}".format('install_prerequisites'))
         except:
             traceback.print_exc()
             raise Exception


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to