mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
qa/workunits/rbd: wait for status propagated only if daemon started
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
This commit is contained in:
parent
2db4e96335
commit
7fb9920316
@ -425,7 +425,9 @@ wait_for_status_in_pool_dir ${CLUSTER1} ${POOL} ${image} 'up+unknown'
|
||||
promote_image ${CLUSTER1} ${POOL} ${image}
|
||||
write_image ${CLUSTER1} ${POOL} ${image} 10
|
||||
demote_image ${CLUSTER1} ${POOL} ${image}
|
||||
wait_for_status_in_pool_dir ${CLUSTER2} ${POOL} ${image} 'up+unknown'
|
||||
if [ -n "${RBD_MIRROR_USE_RBD_MIRROR}" ]; then
|
||||
wait_for_status_in_pool_dir ${CLUSTER2} ${POOL} ${image} 'up+unknown'
|
||||
fi
|
||||
promote_image ${CLUSTER2} ${POOL} ${image}
|
||||
wait_for_status_in_pool_dir ${CLUSTER1} ${POOL} ${image} 'up+error' 'split-brain'
|
||||
request_resync_image ${CLUSTER1} ${POOL} ${image} image_id
|
||||
|
Loading…
Reference in New Issue
Block a user