mirror of
https://github.com/ceph/ceph
synced 2024-12-29 23:12:27 +00:00
b7aae5c3c5
Introduce functional tests to validate that the images under workloads are correctly mirrored between two clusters using snapshot based mirroring. Run workload on a primary image using a krbd or nbd client. Take mirror snapshots of the image under workload. Unmount the mapped image and calculate its MD5 checksum before demoting it. After demotion, wait for the mirror status of the image to be 'up+unknown' in both the clusters. This is to make sure that the non-primary image in the other cluster is ready to be promoted. Now promote the non-primary image in the other cluster. Map the promoted image and calculate its MD5 checksum. Verify that the checksums of the demoted and promoted images in the two clusters are the same. The above test is run as part of two different workunits: - a workunit that validates the syncing of multiple mirrored images with workloads running on them - another workunit that validates the syncing of a single mirrored image with workload running on it and the image is set as primary alternatively between the two clusters, as it happens during failover and failback scenarios. Fixes: https://tracker.ceph.com/issues/61617 Signed-off-by: Ramana Raja <rraja@redhat.com> Co-authored-by: Ilya Dryomov <idryomov@redhat.com> Co-authored-by: Christopher Hoffman <choffman@redhat.com> |
||
---|---|---|
.. | ||
crimson | ||
cli_generic.sh | ||
cli_migration.sh | ||
compare_mirror_image_alternate_primary.sh | ||
compare_mirror_images.sh | ||
concurrent.sh | ||
diff_continuous.sh | ||
diff.sh | ||
huge-tickets.sh | ||
image_read.sh | ||
import_export.sh | ||
issue-20295.sh | ||
journal.sh | ||
kernel.sh | ||
krbd_data_pool.sh | ||
krbd_exclusive_option.sh | ||
krbd_fallocate.sh | ||
krbd_huge_osdmap.sh | ||
krbd_latest_osdmap_on_map.sh | ||
krbd_namespaces.sh | ||
krbd_rxbounce.sh | ||
krbd_stable_writes.sh | ||
krbd_udev_enumerate.sh | ||
krbd_udev_netlink_enobufs.sh | ||
krbd_udev_netns.sh | ||
krbd_udev_symlinks.sh | ||
krbd_wac.sh | ||
krbd_watch_errors.sh | ||
luks-encryption.sh | ||
map-snapshot-io.sh | ||
map-unmap.sh | ||
merge_diff.sh | ||
notify_master.sh | ||
notify_slave.sh | ||
nvmeof_initiator.sh | ||
permissions.sh | ||
qemu_dynamic_features.sh | ||
qemu_rebuild_object_map.sh | ||
qemu-iotests.sh | ||
qos.sh | ||
rbd_groups.sh | ||
rbd_mirror_bootstrap.sh | ||
rbd_mirror_fsx_compare.sh | ||
rbd_mirror_fsx_prepare.sh | ||
rbd_mirror_ha.sh | ||
rbd_mirror_helpers.sh | ||
rbd_mirror_stress.sh | ||
rbd_mirror.sh | ||
rbd_support_module_recovery.sh | ||
rbd-ggate.sh | ||
rbd-nbd.sh | ||
read-flags.sh | ||
simple_big.sh | ||
test_admin_socket.sh | ||
test_librbd_python.sh | ||
test_librbd.sh | ||
test_lock_fence.sh | ||
test_rbd_mirror.sh | ||
test_rbd_tasks.sh | ||
test_rbdmap_RBDMAPFILE.sh | ||
verify_pool.sh |