From ef7ebc5d2e41797c5f628e37c59f783ebf94d4d1 Mon Sep 17 00:00:00 2001 From: Junaid Ali Date: Wed, 27 Apr 2016 21:29:23 -0700 Subject: [PATCH] Updated sleep time after starting libvirt-bin --- hooks/pg_dir_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/pg_dir_utils.py b/hooks/pg_dir_utils.py index b76ddd7..ab4aef9 100644 --- a/hooks/pg_dir_utils.py +++ b/hooks/pg_dir_utils.py @@ -156,7 +156,7 @@ def restart_pg(): raise ValueError("plumgrid service couldn't be started") else: if service_start('libvirt-bin'): - time.sleep(3) + time.sleep(5) if not service_running('plumgrid') \ and not service_start('plumgrid'): raise ValueError("plumgrid service couldn't be started")