From 808e53fe29d01b6a3e70daeb3a4a044af88d7416 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 21 Jun 2019 15:56:37 -0400 Subject: [PATCH] Increase wait on OSD add/remove --- client-common/ceph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-common/ceph.py b/client-common/ceph.py index bb6fc1c4..f2fff316 100644 --- a/client-common/ceph.py +++ b/client-common/ceph.py @@ -859,7 +859,7 @@ def add_osd(zk_conn, node, device, weight): # Acquire a write lock to ensure things go smoothly lock = zkhandler.writelock(zk_conn, '/ceph/cmd') with lock: - time.sleep(1) + time.sleep(3) zkhandler.writedata(zk_conn, {'/ceph/cmd': ''}) return success, message @@ -891,7 +891,7 @@ def remove_osd(zk_conn, osd_id): # Acquire a write lock to ensure things go smoothly lock = zkhandler.writelock(zk_conn, '/ceph/cmd') with lock: - time.sleep(1) + time.sleep(3) zkhandler.writedata(zk_conn, {'/ceph/cmd': ''}) return success, message