You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/09/10 08:42:31 UTC
[incubator-dlab] 02/04: [DLAB-1864]: added reboot in disk
preparation
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1864
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit fb2e83b76ce62cc46ed5a0dab028ce965cdd614d
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Sep 8 11:32:43 2020 +0300
[DLAB-1864]: added reboot in disk preparation
---
infrastructure-provisioning/src/general/lib/azure/actions_lib.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
index d3891db..2d23e50 100644
--- a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
@@ -1238,7 +1238,9 @@ def prepare_disk(os_user):
if 'Syncing disks' in out:
allow = True
elif 'The kernel still uses the old table.' in out:
- sudo('partprobe')
+ #sudo('partprobe')
+ with settings(warn_only=True):
+ reboot(wait=180)
allow = True
else:
counter += 1
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org