You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by ol...@apache.org on 2022/02/16 14:51:12 UTC

[incubator-datalab] branch 2.5.1-tensor-jupyterlab updated: fixed path to configure_tensor-jupyterlab_node

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

olehmykolaishyn pushed a commit to branch 2.5.1-tensor-jupyterlab
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/2.5.1-tensor-jupyterlab by this push:
     new 465b551  fixed path to configure_tensor-jupyterlab_node
     new 675762a  Merge branch '2.5.1-tensor-jupyterlab' of https://github.com/apache/incubator-datalab into 2.5.1-tensor-jupyterlab
465b551 is described below

commit 465b551da7346c24bcbde329e8a94d00cf95f5f1
Author: oleh_mykolaishyn <ow...@gmail.com>
AuthorDate: Wed Feb 16 16:50:35 2022 +0200

    fixed path to configure_tensor-jupyterlab_node
---
 .../src/general/scripts/aws/tensor-jupyterlab_configure.py          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py b/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
index 2a0d115..a1b5d40 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
@@ -156,7 +156,7 @@ if __name__ == "__main__":
 
     # installing and configuring TensorFlow and all dependencies
     try:
-        logging.info('[CONFIGURE TENSORFLOW NOTEBOOK INSTANCE]')
+        logging.info('[CONFIGURE TENSORFLOW  JUPYTERLAB NOTEBOOK INSTANCE]')
         params = "--hostname {0} --keyfile {1} " \
                  "--region {2} --os_user {3} " \
                  "--ip_address {4} --exploratory_name {5} --edge_ip {6}" \
@@ -164,13 +164,13 @@ if __name__ == "__main__":
                          os.environ['aws_region'], notebook_config['datalab_ssh_user'],
                          notebook_config['ip_address'], notebook_config['exploratory_name'], edge_ip)
         try:
-            subprocess.run("~/scripts/{}.py {}".format('configure_tensor_node', params), shell=True, check=True)
+            subprocess.run("~/scripts/{}.py {}".format('configure_tensor-jupyterlab_node', params), shell=True, check=True)
         except:
             traceback.print_exc()
             raise Exception
     except Exception as err:
         datalab.fab.append_result("Failed to configure TensorFlow.", str(err))
-        datalab.actions_lib.remove_ec2(notebook_config['tag_name'], notebook_config['instance_name'])
+        #datalab.actions_lib.remove_ec2(notebook_config['tag_name'], notebook_config['instance_name'])
         sys.exit(1)
 
     try:

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