ceph/qa/workunits/windows/run-rbd-wnbd-tests.sh
Ionut Balutoiu 8054199787 qa: add basic Ceph on Windows integration test
Due to lack of Windows support in the Teuthology, the test case adopts
the following workaround:

* Deploy baremetal machine with `ubuntu_latest.yaml` and
  configure it with libvirt KVM.
* Create a libvirt VM and provision it with Windows Server 2019, using
  the official ISO from Microsoft.
* Configure SSH in the Windows VM, and run the tests remotely via SSH.

The implementation of the test case consists of workunit scripts.

`qa/workunits/windows/test_rbd_wnbd.py` is the main Python script
to test Ceph on Windows basic functionality. This is executed in the
libvirt VM configured with Windows Server 2019.

Co-authored-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Co-authored-by: Daniel Vincze <dvincze@cloudbasesolutions.com>

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2022-04-19 17:21:52 +03:00

14 lines
425 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
DIR="$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)"
source ${DIR}/libvirt_vm/build_utils.sh
source ${DIR}/libvirt_vm/connection_info.sh
# Run the rbd-wnbd tests
scp_upload ${DIR}/test_rbd_wnbd.py /test_rbd_wnbd.py
ssh_exec python.exe /test_rbd_wnbd.py --test-name RbdTest
ssh_exec python.exe /test_rbd_wnbd.py --test-name RbdFioTest
ssh_exec python.exe /test_rbd_wnbd.py --test-name RbdStampTest