def METHOD_NAME(
    rbd,
    src_pool,
    dest_pool,
    image,
    client,
):
    """Abort the image migration from source to destination and verify the same
    Args:
        src_pool: source pool name
        dest_pool: destination pool name
        image: name of the image to be migrated
        client: client to run IOS
    """
    run_fio(image_name=image, pool_name=src_pool, client_node=client)
    src_spec1 = src_pool + "/" + image
    dest_spec1 = dest_pool + "/" + image
    rbd.migration_prepare(src_spec1, dest_spec1)
    verify_migration_state(rbd, dest_spec1)
    # run io's on the destination image
    run_fio(image_name=image, pool_name=dest_pool, client_node=client)
    rbd.migration_action(action="execute", dest_spec=dest_spec1)
    verify_migration_state(rbd, dest_spec1)
    rbd.migration_action(action="abort", dest_spec=dest_spec1)
    verify_migration_abort(rbd, dest_pool, image=image)
    # try to run IOS in original source image
    run_fio(image_name=image, pool_name=src_pool, client_node=client)