Skip to content

Commit

Permalink
Try to reproduce the rbd-mirror bug
Browse files Browse the repository at this point in the history
Disable retries when we time out waiting for rbd-mirror health.
Hopefully this will reproduce the error and with the new debug logs we
should have enough info to find the root cause.

Signed-off-by: Nir Soffer <[email protected]>
  • Loading branch information
nirs committed Apr 20, 2024
1 parent dda8fe6 commit d762243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons/rbd-mirror/start
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def wait_until_rbd_mirror_is_ready(cluster):
print(yaml.dump(info, sort_keys=False))


def wait_until_pool_mirroring_is_healthy(cluster, attempts=3):
def wait_until_pool_mirroring_is_healthy(cluster, attempts=1):
# We have random timeouts when rbd-mirror fail to connect to the peer.
# When this happens we can recover by restarting the rbd-mirror daemon.

Expand Down

0 comments on commit d762243

Please sign in to comment.