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:32 UTC

[incubator-dlab] 03/04: [DLAB-1864]: uncommented partprobe in mount_disk function

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 690295073eb220296e938c0fbbd3238ffc489bce
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Sep 9 17:33:03 2020 +0300

    [DLAB-1864]: uncommented partprobe in  mount_disk function
---
 infrastructure-provisioning/src/general/lib/azure/actions_lib.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
index 2d23e50..ebb0112 100644
--- a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
@@ -1238,9 +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')
-                        with settings(warn_only=True):
-                            reboot(wait=180)
+                        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