Increase wait on OSD add/remove

This commit is contained in:
Joshua Boniface 2019-06-21 15:56:37 -04:00
parent d5e5ed4b69
commit 808e53fe29
1 changed files with 2 additions and 2 deletions

View File

@ -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