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

mykolabodnar pushed a commit to branch DataLab-keycloak_deployment_fixes
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to 
refs/heads/DataLab-keycloak_deployment_fixes by this push:
     new 7ce3761  [DATALAB-Keycloak_deployment-fixes] - Connection fixed
7ce3761 is described below

commit 7ce376136457d4010fe46fe2b8eaedd17ae3345f
Author: bodnarmykola <[email protected]>
AuthorDate: Mon May 31 12:58:34 2021 +0300

    [DATALAB-Keycloak_deployment-fixes] - Connection fixed
---
 .../scripts/deploy_keycloak/deploy_keycloak.py             | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/infrastructure-provisioning/scripts/deploy_keycloak/deploy_keycloak.py 
b/infrastructure-provisioning/scripts/deploy_keycloak/deploy_keycloak.py
index 6bf10ed..350284d 100644
--- a/infrastructure-provisioning/scripts/deploy_keycloak/deploy_keycloak.py
+++ b/infrastructure-provisioning/scripts/deploy_keycloak/deploy_keycloak.py
@@ -105,13 +105,13 @@ def init_connection(hostname, username, keyfile):
         sys.exit(1)
 
 if __name__ == "__main__":
-    subprocess.run("sudo mkdir /logs/keycloak -p", shell=True, check=True)
-    subprocess.run('sudo chown ' + args.os_user + ':' + args.os_user + ' -R 
/logs/keycloak', shell=True, check=True)
-    local_log_filename = "keycloak_deployment_script.log"
-    local_log_filepath = "/logs/keycloak/" + local_log_filename
-    logging.basicConfig(format='%(levelname)-8s [%(asctime)s]  %(message)s',
-                        level=logging.DEBUG,
-                        filename=local_log_filepath)
+    #subprocess.run("sudo mkdir /logs/keycloak -p", shell=True, check=True)
+    #subprocess.run('sudo chown ' + args.os_user + ':' + args.os_user + ' -R 
/logs/keycloak', shell=True, check=True)
+    #local_log_filename = "keycloak_deployment_script.log"
+    #local_log_filepath = "/logs/keycloak/" + local_log_filename
+    #logging.basicConfig(format='%(levelname)-8s [%(asctime)s]  %(message)s',
+    #                    level=logging.DEBUG,
+    #                    filename=local_log_filepath)
 
     print("Configure connections")
     if args.public_ip_address != '':

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

Reply via email to