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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to