Increase wait on OSD add/remove a bit more
This commit is contained in:
parent
9cec0c5b43
commit
60e6df4416
|
@ -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(3)
|
||||
time.sleep(5)
|
||||
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(3)
|
||||
time.sleep(5)
|
||||
zkhandler.writedata(zk_conn, {'/ceph/cmd': ''})
|
||||
|
||||
return success, message
|
||||
|
|
Loading…
Reference in New Issue