mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
qa/workunits/rbd: wait for demote status is propagated
(before promoting the image on another cluster) Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
This commit is contained in:
parent
d77f40d10b
commit
f4b88b2c9d
@ -425,6 +425,7 @@ 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'
|
||||
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