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/09/06 07:12:18 UTC
[incubator-datalab] 01/01: [DATALAB-1838]: adde check if disks are
mounted right during notebook start on azure
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-1838
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 59ce6d39ff8d48a1b39348445e6cb2c4edaef1c4
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Sep 1 17:35:08 2021 +0300
[DATALAB-1838]: adde check if disks are mounted right during notebook start on azure
---
.../src/general/scripts/os/update_inactivity_on_start.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/infrastructure-provisioning/src/general/scripts/os/update_inactivity_on_start.py b/infrastructure-provisioning/src/general/scripts/os/update_inactivity_on_start.py
index 6a02f2d..8cf85e8 100644
--- a/infrastructure-provisioning/src/general/scripts/os/update_inactivity_on_start.py
+++ b/infrastructure-provisioning/src/general/scripts/os/update_inactivity_on_start.py
@@ -44,6 +44,8 @@ if __name__ == "__main__":
else:
kernel = args.cluster_ip.replace('.', '-')
+ if os.environ['conf_cloud_provider'] == 'azure':
+ datalab.actions_lib.ensure_right_mount_paths()
conn.sudo('''bash -c -l "date +%s > /opt/inactivity/{}_inactivity" '''.format(kernel))
conn.close()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org